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.

chore: add timezone env to dockerfile (#1490)

boojackab867b68d3a3
diff --git a/Dockerfile b/Dockerfile
index d80c9313b..438357e6c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,6 +25,9 @@ RUN go build -o memos ./main.go
FROM alpine:3.16 AS monolithic
WORKDIR /usr/local/memos
+RUN apk add --no-cache tzdata
+ENV TZ="UTC"
+
COPY --from=backend /backend-build/memos /usr/local/memos/
EXPOSE 5230