Files
dc-bot/docker-compose.yml
2026-02-22 14:59:19 +01:00

17 lines
400 B
YAML

services:
bot:
image: node:24
container_name: shsf_dc_bot
restart: unless-stopped
env_file: .env
working_dir: /app
volumes:
- .:/app
ports:
- "$PORT:$PORT"
command: sh -c "npm i -g pnpm && pnpm install && pnpm dev"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:$PORT/health"]
interval: 30s
timeout: 10s
retries: 1