mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 06:00:21 +08:00
dev: try removing npm registry from Dockerfile
This commit is contained in:
parent
dd86724941
commit
d9a8ea095c
@ -29,7 +29,7 @@ RUN npm install -g mocha
|
|||||||
# Install node modules
|
# Install node modules
|
||||||
RUN npm cache clean --force && \
|
RUN npm cache clean --force && \
|
||||||
for i in 1 2 3; do \
|
for i in 1 2 3; do \
|
||||||
npm ci --registry=https://registry.npmjs.org/ && break || \
|
npm ci && break || \
|
||||||
if [ $i -lt 3 ]; then \
|
if [ $i -lt 3 ]; then \
|
||||||
sleep 15; \
|
sleep 15; \
|
||||||
else \
|
else \
|
||||||
|
Loading…
Reference in New Issue
Block a user