Init push
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
# Define variables for client image name
|
||||
CLIENT_IMAGE = websocket-client-app
|
||||
|
||||
# Default target: build the server image
|
||||
all: build
|
||||
|
||||
# Target to build the server Docker image
|
||||
build:
|
||||
docker build -t $(CLIENT_IMAGE) .
|
||||
|
||||
# Target to run the server container using the host network
|
||||
run: build
|
||||
docker run -it --rm \
|
||||
--network=host \
|
||||
$(CLIENT_IMAGE)
|
||||
Reference in New Issue
Block a user