Skip to content

Commit b64413c

Browse files
added npm install in prod
1 parent fcc9429 commit b64413c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile.prod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ WORKDIR /usr/src/app
66
# Copy only necessary files for dependency installation
77
COPY package*.json ./
88

9+
RUN npm install
10+
911
COPY . .
1012

1113
# Build the application

0 commit comments

Comments
 (0)