|
|
@ -5,6 +5,9 @@ COPY ./assets /assets
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /assets
|
|
|
|
WORKDIR /assets
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If encountered problems like JavaScript heap out of memory, please uncomment the following options
|
|
|
|
|
|
|
|
ENV NODE_OPTIONS --max_old_space_size=4096
|
|
|
|
|
|
|
|
|
|
|
|
# yarn repo connection is unstable, adjust the network timeout to 10 min.
|
|
|
|
# yarn repo connection is unstable, adjust the network timeout to 10 min.
|
|
|
|
RUN set -ex \
|
|
|
|
RUN set -ex \
|
|
|
|
&& yarn install --network-timeout 600000 \
|
|
|
|
&& yarn install --network-timeout 600000 \
|
|
|
@ -42,7 +45,7 @@ ARG TZ="Asia/Shanghai"
|
|
|
|
|
|
|
|
|
|
|
|
ENV TZ ${TZ}
|
|
|
|
ENV TZ ${TZ}
|
|
|
|
|
|
|
|
|
|
|
|
COPY --from=be-builder /go/bin/cloudreve /cloudreve/cloudreve
|
|
|
|
COPY --from=be-builder /go/bin/Cloudreve /cloudreve/cloudreve
|
|
|
|
|
|
|
|
|
|
|
|
RUN apk upgrade \
|
|
|
|
RUN apk upgrade \
|
|
|
|
&& apk add bash tzdata \
|
|
|
|
&& apk add bash tzdata \
|
|
|
|