From dd5d93afd894e68f88750dc1ebac9a3c3aec8e89 Mon Sep 17 00:00:00 2001 From: vvisionnn Date: Wed, 2 Mar 2022 01:32:34 +0000 Subject: [PATCH] fix: add npm default registry --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 0dffb5c1..a8848082 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN apk update && apk add --no-cache wget curl git yarn build-base gcc abuild bi # build frontend RUN git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git RUN cd ./Cloudreve/assets \ + && yarn config set registry https://registry.npmjs.org \ && yarn install --network-timeout 1000000 \ && yarn run build