fix: Dockerfile (#1561)

This commit is contained in:
Nya Candy
2022-12-14 22:31:36 +08:00
committed by GitHub
parent 08e4d2257a
commit 053e4352b4

View File

@@ -10,6 +10,8 @@ RUN git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git
# build frontend # build frontend
WORKDIR /cloudreve_builder/Cloudreve/assets WORKDIR /cloudreve_builder/Cloudreve/assets
ENV GENERATE_SOURCEMAP false 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 install --network-timeout 1000000
RUN yarn run build RUN yarn run build