Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

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

STEVEN6589671da8f7
diff --git a/Dockerfile b/Dockerfile
index b9857a5d7..2909950e1 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