Update docker-compose command to include git pull before installation

This commit is contained in:
Space-Banane
2026-02-09 21:22:18 +01:00
parent d59b6564f4
commit 056519c0f1

View File

@@ -8,7 +8,7 @@ services:
- "$PORT:8080"
env_file:
- .env
command: sh -c "npm i -g pnpm && cd frontend && pnpm install && pnpm run build && cd ../backend && pnpm install && pnpm run start"
command: sh -c "git pull && npm i -g pnpm && cd frontend && pnpm install && pnpm run build && cd ../backend && pnpm install && pnpm run start"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:$PORT/health"]
interval: 30s