Files
website/docker-compose.yml
2025-12-02 20:11:38 +08:00

18 lines
449 B
YAML

version: '3.8'
services:
web:
build: .
ports:
- "30080:3000" # Map external port 5173 to internal port 3000
environment:
- NODE_ENV=production
restart: unless-stopped
# Remove the volume mount since we're building the dist folder into the image
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s