From 699f9fceb1685de011133c4d8b37ed77b6f3bb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=AF=E8=A7=82=E7=94=9F=E6=B4=BB?= Date: Tue, 19 Jul 2022 14:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=BACST=E6=97=B6?= =?UTF-8?q?=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 现有版本里面是UTC时区,修改为CST时区 --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 52444b8..388ff9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,9 @@ FROM node:14.18-alpine as web WORKDIR /opt/workflow +ENV TZ=Asia/Shanghai +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories RUN apk update && \ apk add --no-cache git && \