fix(deploy): prevent application privilege gains

This commit is contained in:
Ricardo-binZzz committed 2026-07-29 13:25:05 +08:00
1 parent 5a6143097d
commit 0010894f99
6 files changed
+53

No files matched your search

+2
View File
@@ -17,6 +17,8 @@ services:
NPM_CONFIG_REGISTRY: ${NPM_CONFIG_REGISTRY:-https://registry.npmmirror.com}
container_name: sub2api-dev
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "${BIND_HOST:-127.0.0.1}:${SERVER_PORT:-8080}:8080"
volumes: