Skip to content

Commit fb35f2e

Browse files
fix the server deployment issues on power (#46)
Signed-off-by: William Xiang <[email protected]>
1 parent f1f263b commit fb35f2e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ---- Base Node ----
22
# Use a specific Node.js version known to work, Alpine for smaller size
3-
FROM node:23-alpine AS base
3+
FROM node:21-alpine AS base
44
WORKDIR /usr/src/app
55
# NODE_ENV will be set by docker-compose from .env file
66

apps/mcpgateway/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ services:
418418
- YAML_AUTO_RELOAD=true
419419
- TOOLS_YAML_PATH=/usr/src/app/tools
420420
volumes:
421-
- ../../tools:/usr/src/app/tools:rw # Mount tools configurations with read-write for auto-reload
422-
- ../../secrets:/usr/src/app/secrets:ro # Mount secrets directory as read-only
421+
- ../../tools:/usr/src/app/tools:rw,Z # Mount tools configurations with read-write for auto-reload
422+
- ../../secrets:/usr/src/app/secrets:ro,Z # Mount secrets directory as read-only
423423
healthcheck:
424424
test: ["CMD", "curl", "-f", "http://localhost:3010/health"]
425425
interval: 30s

0 commit comments

Comments
 (0)