Update Dockerfile to fix timezone

This commit is contained in:
Sijie.Sun 2024-08-16 23:59:39 +08:00 committed by Sijie.Sun
parent ff6da9bbec
commit 28ae9c447a

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