RUN rm -rf node_modules package-lock.json
This commit is contained in:
parent
6645aae712
commit
dfa12af5a5
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ RUN apk add --no-cache ca-certificates && update-ca-certificates
|
|||
ENV GENERATE_SOURCEMAP=false
|
||||
ENV NODE_OPTIONS=--max-old-space-size=16384
|
||||
WORKDIR /app
|
||||
|
||||
RUN rm -rf node_modules package-lock.json
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm i
|
||||
COPY . .
|
||||
|
|
|
|||
Loading…
Reference in a new issue