mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-14 13:47:24 +08:00
Update Dockerfile to fix timezone
This commit is contained in:
4
.github/workflows/Dockerfile
vendored
4
.github/workflows/Dockerfile
vendored
@@ -18,9 +18,13 @@ RUN mkdir -p /tmp/output; \
|
|||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN apk add --no-cache tzdata
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder --chmod=755 /tmp/output/* /usr/local/bin
|
COPY --from=builder --chmod=755 /tmp/output/* /usr/local/bin
|
||||||
|
|
||||||
|
# users can use "-e TZ=xxx" to adjust it
|
||||||
|
ENV TZ Asia/Shanghai
|
||||||
|
|
||||||
# tcp
|
# tcp
|
||||||
EXPOSE 11010/tcp
|
EXPOSE 11010/tcp
|
||||||
# udp
|
# udp
|
||||||
|
|||||||
Reference in New Issue
Block a user