-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 801 Bytes
/
Makefile
File metadata and controls
29 lines (23 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) 2025 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
.PHONY: build clean stop
# Docker image configuration
IMAGE_NAME := ags-api-mcp-server
IMAGE_TAG := latest
FULL_IMAGE_NAME := $(IMAGE_NAME):$(IMAGE_TAG)
# Default configuration
TRANSPORT ?= stdio
PORT ?= 3000
LOG_LEVEL ?= info
NODE_ENV ?= production
# Container name
CONTAINER_NAME := $(IMAGE_NAME)
build: ## Build the Docker image
@echo "Building Docker image $(FULL_IMAGE_NAME)..."
docker build -t $(FULL_IMAGE_NAME) .
@echo "Build complete!"
clean: stop ## Remove the Docker image
@echo "Removing Docker image $(FULL_IMAGE_NAME)..."
-docker rmi $(FULL_IMAGE_NAME) 2>/dev/null || true
@echo "Image removed."