Use npm ci for installing pacakages (#304)

This commit is contained in:
Jaime Baez
2022-07-04 20:47:25 +02:00
committed by GitHub
parent 97d9b80baa
commit 355038a91a
3 changed files with 7 additions and 7 deletions

View File

@@ -7,9 +7,9 @@ RUN chown node:node /usr/src/app
COPY --chown=node:node package*.json ./
RUN apk add --update-cache build-base python3
RUN apk add --update-cache build-base python3
RUN npm install
RUN npm ci
COPY --chown=node:node . .
@@ -29,9 +29,9 @@ RUN chown node:node /usr/src/app
COPY --chown=node:node package*.json ./
COPY --chown=node:node . .
RUN apk add --update-cache build-base python3
RUN apk add --update-cache build-base python3
RUN npm install
RUN npm ci
EXPOSE 3000