🎨 优化环境变量配置
This commit is contained in:
parent
9beb506ad4
commit
1a6d3250f2
@ -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 && \
|
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \
|
||||||
apk add --update --no-cache tzdata
|
apk add --update --no-cache tzdata
|
||||||
|
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai \
|
||||||
|
GIN_MODE=release
|
@ -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 \
|
COPY --from=madnight/alpine-wkhtmltopdf-builder:0.12.5-alpine3.10-606718795 \
|
||||||
/bin/wkhtmltopdf /bin/wkhtmltopdf
|
/bin/wkhtmltopdf /bin/wkhtmltopdf
|
||||||
COPY shs.otf /usr/share/fonts/
|
COPY shs.otf /usr/share/fonts/
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai \
|
||||||
|
GIN_MODE=release
|
Loading…
Reference in New Issue
Block a user