add copyfiles to global scope
This commit is contained in:
parent
dc75ec4c33
commit
4d4f18752f
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
FROM ubuntu:jammy AS builder
|
||||
|
||||
ENV NODE_ENV="devel"
|
||||
ENV NODE_ENV="production"
|
||||
|
||||
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
|
@ -48,6 +48,7 @@ RUN npm config set maxsockets 1 && \
|
|||
npm config set fetch-retries 5 && \
|
||||
npm config set fetch-retry-mintimeout 100000 && \
|
||||
npm config set fetch-retry-maxtimeout 600000 && \
|
||||
npm install -g copyfiles@2.4.1 && \
|
||||
npm ci --omit=dev && \
|
||||
chown -R root:root /usr/src/app
|
||||
|
||||
|
|
Loading…
Reference in a new issue