fix: docker timezone to Asia/Shanghai (#8)

This commit is contained in:
STEVEN 2021-12-14 11:33:19 +08:00 committed by GitHub
parent 019288ca73
commit 6589671da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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