mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature(Dockerfile) set package-lock false
This commit is contained in:
parent
b63604882c
commit
08d131a2f1
2 changed files with 4 additions and 2 deletions
|
|
@ -6,7 +6,8 @@ WORKDIR /usr/src/app
|
|||
|
||||
COPY package.json /usr/src/app/
|
||||
|
||||
RUN npm install --production && \
|
||||
RUN npm config set package-lock false && \
|
||||
npm install --production && \
|
||||
npm i gritty && \
|
||||
npm cache clean --force
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ WORKDIR /usr/src/app
|
|||
|
||||
COPY package.json /usr/src/app/
|
||||
|
||||
RUN npm install --production && \
|
||||
RUN npm config set package-lock false && \
|
||||
npm install --production && \
|
||||
apk update && \
|
||||
apk add --no-cache bash make g++ python && \
|
||||
npm i gritty && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue