mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-12-18 13:27:00 +01:00
Add timezone environment variable to Dockerfile
Add tzdata and set the timezone in the Dockerfile.
This commit is contained in:
@@ -37,7 +37,7 @@ RUN curl -Lo ZeroTierOne.tar.gz https://codeload.github.com/zerotier/ZeroTierOne
|
||||
## Main
|
||||
FROM docker.io/alpine:latest
|
||||
|
||||
RUN apk add --update --no-cache python3 sudo netcat-openbsd libressl-dev openssh ca-certificates libc6-compat libstdc++ &&\
|
||||
RUN apk add --update --no-cache tzdata python3 sudo netcat-openbsd libressl-dev openssh ca-certificates libc6-compat libstdc++ &&\
|
||||
rm -rf /var/cache/apk/* /tmp/*
|
||||
|
||||
COPY --chmod=700 ./entrypoint.py /opt/zoraxy/
|
||||
@@ -50,6 +50,7 @@ RUN mkdir -p /opt/zoraxy/plugin/ &&\
|
||||
|
||||
WORKDIR /opt/zoraxy/config/
|
||||
|
||||
ENV TZ="Etc/UTC"
|
||||
ENV ZEROTIER="false"
|
||||
|
||||
ENV AUTORENEW="86400"
|
||||
|
||||
Reference in New Issue
Block a user