From 1a6d3250f204340bf7e3d27903a51cbbea6e2ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Tue, 9 Nov 2021 12:07:22 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E4=BC=98=E5=8C=96=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alpine-runner/Dockerfile | 3 ++- alpine-runner/Dockerfile_wkhtml2pdf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/alpine-runner/Dockerfile b/alpine-runner/Dockerfile index 20c3d45..7f26127 100644 --- a/alpine-runner/Dockerfile +++ b/alpine-runner/Dockerfile @@ -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 \ No newline at end of file +ENV TZ=Asia/Shanghai \ + GIN_MODE=release \ No newline at end of file diff --git a/alpine-runner/Dockerfile_wkhtml2pdf b/alpine-runner/Dockerfile_wkhtml2pdf index 147b4f2..fb5efa1 100644 --- a/alpine-runner/Dockerfile_wkhtml2pdf +++ b/alpine-runner/Dockerfile_wkhtml2pdf @@ -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 \ No newline at end of file +ENV TZ=Asia/Shanghai \ + GIN_MODE=release \ No newline at end of file