Update Dockerfile to fix timezone

This commit is contained in:
Sijie.Sun authored and Sijie.Sun committed 2024-08-17 00:00:32 +08:00
1 parent ff6da9bbec
commit 28ae9c447a
1 file changed
+4
+4
View File
@@ -18,9 +18,13 @@ RUN mkdir -p /tmp/output; \
FROM alpine:latest
RUN apk add --no-cache tzdata
WORKDIR /app
COPY --from=builder --chmod=755 /tmp/output/* /usr/local/bin
# users can use "-e TZ=xxx" to adjust it
ENV TZ Asia/Shanghai
# tcp
EXPOSE 11010/tcp
# udp