Skip to content

Commit

Permalink
Use npm install instead of npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sMeilbeck committed May 16, 2024
1 parent 1bbd783 commit 78a3f43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ RUN rm -f latest_stable.txt
# Bundle app source
COPY . .

RUN npm ci
RUN npm install
#RUN npm ci
# If you are building your code for production
# RUN npm ci --only=production

Expand Down
3 changes: 2 additions & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ RUN ls -l .
RUN cat package.json

# Install dependencies
RUN npm ci --ignore-scripts
#RUN npm ci --ignore-scripts
RUN npm install

# Install Angular CLI
RUN npm install --ignore-scripts -g @angular/cli
Expand Down

0 comments on commit 78a3f43

Please sign in to comment.