Skip to content

Commit

Permalink
more CI friendly npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkeefer committed Oct 29, 2021
1 parent 7e9c59f commit e9b4fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ CMD echo "getting latest npm modules" \

FROM node:10.13-alpine as build
WORKDIR /root
COPY ./package.json ./package.json
RUN npm install
COPY ./package*.json ./
RUN npm ci --cache .npm
COPY . .
RUN npm run build -o app

Expand Down

0 comments on commit e9b4fa0

Please sign in to comment.