mirror of
https://github.com/usememos/memos.git
synced 2025-03-04 01:04:38 +08:00
chore: add timezone env to dockerfile (#1490)
This commit is contained in:
parent
8cdc662745
commit
ab867b68d3
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ RUN go build -o memos ./main.go
|
||||||
FROM alpine:3.16 AS monolithic
|
FROM alpine:3.16 AS monolithic
|
||||||
WORKDIR /usr/local/memos
|
WORKDIR /usr/local/memos
|
||||||
|
|
||||||
|
RUN apk add --no-cache tzdata
|
||||||
|
ENV TZ="UTC"
|
||||||
|
|
||||||
COPY --from=backend /backend-build/memos /usr/local/memos/
|
COPY --from=backend /backend-build/memos /usr/local/memos/
|
||||||
|
|
||||||
EXPOSE 5230
|
EXPOSE 5230
|
||||||
|
|
Loading…
Reference in a new issue