fix: Dockerfile (#1561)

pull/1562/head
Nya Candy 2 years ago committed by GitHub
parent 08e4d2257a
commit 053e4352b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save