diff --git a/Dockerfile b/Dockerfile index bc658c48c..345838667 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,11 +22,13 @@ RUN if [ "$USE_CHINA_NPM_REGISTRY" = 1 ]; then \ RUN npm i -g npm RUN if [ "$PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" = 0 ]; then \ - unset PUPPETEER_SKIP_CHROMIUM_DOWNLOAD && yarn ;\ + unset PUPPETEER_SKIP_CHROMIUM_DOWNLOAD ;\ else \ - export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true && yarn ;\ + export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ;\ fi; +RUN yarn --network-timeout 1000000 + COPY . /app RUN node scripts/docker/minify-docker.js