Files
drb-core-client/Makefile
Logan Cusano caddd67bc4 fixed makefile
2025-05-23 22:09:51 -04:00

20 lines
490 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 SERVER_WS_URI=${SERVER_WS_URI} \
-e SERVER_API_URL=${SERVER_API_URL} \
-e CLIENT_API_URL=${CLIENT_API_URL} \
-v $(pwd)/data:/data \
--network=host \
$(CLIENT_IMAGE)