We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d996f commit 3e62b5bCopy full SHA for 3e62b5b
Dockerfile
@@ -8,9 +8,8 @@ RUN go mod tidy && go build -ldflags "-s -w" -o main
8
9
10
FROM scratch
11
-COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
+COPY --from=builder /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
12
COPY --from=builder /build/conf conf
13
COPY --from=builder /build/main /
14
-ENV TZ=Asia/Shanghai
15
16
ENTRYPOINT ["/main"]
0 commit comments