Skip to content

Commit

Permalink
Edit dockerfile for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
yash22arora committed May 16, 2024
1 parent 8f5de3d commit e8207e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ WORKDIR /server
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN npm install
# RUN npm install
# If you are building your code for production
# RUN npm ci --omit=dev
RUN npm ci --omit=dev
# Bundle app source
COPY . .
EXPOSE 5000
Expand Down

0 comments on commit e8207e9

Please sign in to comment.