diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..ffc6b18 --- /dev/null +++ b/compose.yml @@ -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