Skip to content

Commit

Permalink
Merge pull request #15 from pacostas/npm-i-err-npm-ci
Browse files Browse the repository at this point in the history
fix: updating docker file to use npm ci instead of install that throws a file access error
  • Loading branch information
helio-frota authored Aug 16, 2022
2 parents a9f9f7f + 725d324 commit d48cfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-run
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM registry.access.redhat.com/ubi8/nodejs-16:latest
COPY package*.json ./

# Install app dependencies
RUN npm install --production
RUN npm ci

# Copy the dependencies into a Slim Node docker image
FROM registry.access.redhat.com/ubi8/nodejs-16-minimal:latest
Expand Down

0 comments on commit d48cfa5

Please sign in to comment.