We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21222c7 + 9e89e1f commit 32bc3fdCopy full SHA for 32bc3fd
Dockerfile
@@ -24,4 +24,5 @@ COPY --from=builder /app/package.json ./package.json
24
COPY --from=builder /app/next.config.mjs ./next.config.mjs
25
26
EXPOSE 3000
27
-CMD ["npm", "start"]
+CMD ["npm", "run", "start"]
28
+
docker-compose.yml
@@ -10,7 +10,7 @@ services:
10
environment:
11
NODE_ENV: production
12
volumes:
13
- - .:/app # 코드 변경 사항을 반영하려면 필요
14
- - /app/node_modules # 호스트와 컨테이너 간 충돌 방지
15
- working_dir: /app
16
- command: "npm start" # Next.js 프로덕션 서버 실행
+ - .:/gdgoc-fe-app # 코드 변경 사항을 반영하려면 필요
+ working_dir: /gdgoc-fe-app
+ command: "npm run start"
0 commit comments