Files
drb-core-client/Makefile
2025-04-27 00:53:18 -04:00

19 lines
466 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 \
-e CLIENT_API_URL=${SERVER_WS_URI} \
-e CLIENT_API_URL=${SERVER_API_URL} \
-e CLIENT_API_URL=${CLIENT_API_URL} \
--network=host \
$(CLIENT_IMAGE)