Files
drb-core-server/Makefile
Logan Cusano 163153d7f6 Init push
2025-04-27 00:32:14 -04:00

18 lines
455 B
Makefile

# Define variables for server image name
SERVER_IMAGE = websocket-server-app
SERVER_CONTAINER_NAME = websocket-server # Give the server a fixed name
# Default target: build the server image
all: build
# Target to build the server Docker image
build:
docker build -t $(SERVER_IMAGE) .
# Target to run the server container using the host network
run: build
docker run -it --rm \
--name $(SERVER_CONTAINER_NAME) \
--network host \
$(SERVER_IMAGE)