From e40389a5216af606f18c47d75d460ea4980f6c76 Mon Sep 17 00:00:00 2001 From: Nya Candy Date: Wed, 14 Dec 2022 22:20:02 +0800 Subject: [PATCH] fix: Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 91f69106..e6e40d1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ RUN git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git # build frontend WORKDIR /cloudreve_builder/Cloudreve/assets ENV GENERATE_SOURCEMAP false +# Disable new OpenSSL to prevent 0308010C:digital envelope routines::unsupported +ENV NODE_OPTIONS --openssl-legacy-provider RUN yarn install --network-timeout 1000000 RUN yarn run build