From 053e4352b4f018cd28c258189e0f202c217379fa Mon Sep 17 00:00:00 2001 From: Nya Candy Date: Wed, 14 Dec 2022 22:31:36 +0800 Subject: [PATCH] fix: Dockerfile (#1561) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 91f6910..e6e40d1 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