chore: add timezone env to dockerfile (#1490)

This commit is contained in:
boojack 2023-04-08 17:57:00 +08:00 committed by GitHub
parent 8cdc662745
commit ab867b68d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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