mirror of
https://github.com/usememos/memos.git
synced 2025-01-30 00:51:14 +08:00
fix: docker timezone to Asia/Shanghai (#8)
This commit is contained in:
parent
019288ca73
commit
6589671da8
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ RUN go build \
|
||||||
FROM alpine:3.14.3 AS monolithic
|
FROM alpine:3.14.3 AS monolithic
|
||||||
WORKDIR /usr/local/memos
|
WORKDIR /usr/local/memos
|
||||||
|
|
||||||
|
RUN apk add --no-cache tzdata
|
||||||
|
ENV TZ="Asia/Shanghai"
|
||||||
|
|
||||||
COPY --from=backend /backend-build/memos /usr/local/memos/
|
COPY --from=backend /backend-build/memos /usr/local/memos/
|
||||||
# Copy default resources, like db file.
|
# Copy default resources, like db file.
|
||||||
COPY --from=backend /backend-build/resources /usr/local/memos/resources
|
COPY --from=backend /backend-build/resources /usr/local/memos/resources
|
||||||
|
|
Loading…
Reference in a new issue