🎨 优化环境变量配置

This commit is contained in:
李寻欢 2021-11-09 12:07:22 +08:00
parent 9beb506ad4
commit 1a6d3250f2
2 changed files with 4 additions and 2 deletions

View File

@ -5,4 +5,5 @@ LABEL org.opencontainers.image.authors="lxh@cxh.cn"
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
apk add --update --no-cache tzdata
ENV TZ=Asia/Shanghai
ENV TZ=Asia/Shanghai \
GIN_MODE=release

View File

@ -10,4 +10,5 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositorie
COPY --from=madnight/alpine-wkhtmltopdf-builder:0.12.5-alpine3.10-606718795 \
/bin/wkhtmltopdf /bin/wkhtmltopdf
COPY shs.otf /usr/share/fonts/
ENV TZ=Asia/Shanghai
ENV TZ=Asia/Shanghai \
GIN_MODE=release