Skip to content

Commit

Permalink
**newer node syntax for production only installing
Browse files Browse the repository at this point in the history
  • Loading branch information
ibthideveloper committed Sep 12, 2023
1 parent beb7d2f commit cf5b8d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ WORKDIR /app
COPY package.json ./

COPY client/package.json client/
RUN npm install --only=production
RUN npm install --omit=dev

COPY server/package.json server/
RUN npm run install-server --only=production
RUN npm run install-server --omit=dev

COPY client/ client/
RUN npm run build --prefix client
Expand Down

0 comments on commit cf5b8d5

Please sign in to comment.