mirror of
https://github.com/arthur-pbty/imprimersudoku.git
synced 2026-06-18 21:39:21 +02:00
first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
sudoku:
|
||||
image: node:22-alpine
|
||||
container_name: sudoku-app
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- .:/app
|
||||
- node_modules:/app/node_modules
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3017:3000"
|
||||
environment:
|
||||
- NEXT_TELEMETRY_DISABLED=1
|
||||
command: sh -c "rm -rf types .next && npm ci && npm run build && NODE_ENV=production npm start"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
|
||||
volumes:
|
||||
node_modules:
|
||||
Reference in New Issue
Block a user