From 6589671da8f7b67e41c8c5b72b74036fd5229931 Mon Sep 17 00:00:00 2001 From: STEVEN Date: Tue, 14 Dec 2021 11:33:19 +0800 Subject: [PATCH] fix: docker timezone to Asia/Shanghai (#8) --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index b9857a5d..2909950e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,9 @@ RUN go build \ FROM alpine:3.14.3 AS monolithic WORKDIR /usr/local/memos +RUN apk add --no-cache tzdata +ENV TZ="Asia/Shanghai" + COPY --from=backend /backend-build/memos /usr/local/memos/ # Copy default resources, like db file. COPY --from=backend /backend-build/resources /usr/local/memos/resources