Skip to content

Commit

Permalink
Use --omit=dev --legacy-peer-deps to install dependencies in Docker…
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
webpro committed May 25, 2024
1 parent ade8b99 commit b6f9565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY package.json package-lock.json /app/
WORKDIR /app

# First install dependencies
RUN npm install --production
RUN npm install --omit=dev --legacy-peer-deps

# Install app
COPY . /app
Expand Down

0 comments on commit b6f9565

Please sign in to comment.