配置为CST时区

现有版本里面是UTC时区,修改为CST时区
This commit is contained in:
凯观生活 2022-07-19 14:24:41 +08:00 committed by GitHub
parent 0308b4ab79
commit 699f9fceb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,9 @@ FROM node:14.18-alpine as web
WORKDIR /opt/workflow 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 sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
RUN apk update && \ RUN apk update && \
apk add --no-cache git && \ apk add --no-cache git && \