fix: try noproxy / maxsockets
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
3f20943134
commit
b87ae5cb80
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ WORKDIR /usr/src/app
|
||||||
COPY package.json /usr/src/app
|
COPY package.json /usr/src/app
|
||||||
COPY package-lock.json /usr/src/app
|
COPY package-lock.json /usr/src/app
|
||||||
|
|
||||||
RUN npm install --omit=dev; \
|
RUN npm install --omit=dev --noproxy registry.npmjs.org --maxsockets 1; \
|
||||||
chown -R root:root /usr/src/app;
|
chown -R root:root /usr/src/app;
|
||||||
|
|
||||||
FROM ubuntu:focal AS final
|
FROM ubuntu:focal AS final
|
||||||
|
|
Loading…
Reference in a new issue