add docker
This commit is contained in:
parent
70bf30dd3b
commit
002b9de9e5
13
compose.yml
Normal file
13
compose.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
nextjs:
|
||||
image: node:18-alpine
|
||||
container_name: nextjs-app
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./:/app
|
||||
ports:
|
||||
- "3000:3000"
|
||||
command: sh -c "npm ci && npm run build && npm run start"
|
||||
restart: unless-stopped
|
||||
Loading…
x
Reference in New Issue
Block a user