16 lines
347 B
Makefile
16 lines
347 B
Makefile
# 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)
|