mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
fix: Dockerfile (#1561)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user