fix: Dockerfile (#1561)
This commit is contained in:
parent
08e4d2257a
commit
053e4352b4
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue