fix: fix bug docker
This commit is contained in:
19
compose.yaml
Normal file
19
compose.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
web:
|
||||
image: ${PERSIAN_GAME_IMAGE:-persian-game:local}
|
||||
build:
|
||||
context: .
|
||||
target: runtime
|
||||
args:
|
||||
VITE_API_URL: ${VITE_API_URL:-https://api.persain-game.com/api/v1}
|
||||
ports:
|
||||
- "${APP_PORT:-8080}:8080"
|
||||
restart: unless-stopped
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:size=16m,mode=1777
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
stop_grace_period: 10s
|
||||
Reference in New Issue
Block a user