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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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