mirror of
https://github.com/arthur-pbty/moon.git
synced 2026-06-03 15:07:31 +02:00
22 lines
446 B
YAML
22 lines
446 B
YAML
services:
|
|
moon:
|
|
image: node:20-alpine
|
|
working_dir: /app
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3013:3000"
|
|
environment:
|
|
NEXT_TELEMETRY_DISABLED: "1"
|
|
HOSTNAME: 0.0.0.0
|
|
PORT: "3000"
|
|
command: >
|
|
sh -c "npm ci && npm run build && npx next start -H 0.0.0.0 -p 3000"
|
|
volumes:
|
|
- ./:/app
|
|
- node_modules:/app/node_modules
|
|
- next_data:/app/.next
|
|
|
|
volumes:
|
|
node_modules:
|
|
next_data:
|