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 ecae365 + c66b1dc commit 3d94908Copy full SHA for 3d94908
Dockerfile
@@ -11,6 +11,8 @@ RUN npm install
11
COPY . .
12
RUN npm run build
13
14
+RUN ls -l /app
15
+
16
# 2단계: 실행 환경
17
FROM node:18
18
docker-compose.yml
@@ -10,7 +10,8 @@ services:
10
environment:
NODE_ENV: production
volumes:
- - .:/app # 코드 변경 사항을 반영하려면 필요
+ - .:/app
+ - /app/node_modules
working_dir: /app
command: "npm run start"
0 commit comments