# 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 ./data:/data \ --network=host \ $(CLIENT_IMAGE)