diff --git a/Dockerfile b/Dockerfile index 097f030..5e50ccd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,5 +11,12 @@ WORKDIR / COPY --from=builder /trojan-go/release /usr/local/bin/ COPY example/server.json /etc/trojan-go/config.json +RUN set -ex \ + && apk add --no-cache \ + tzdata +ENV TZ=Asia/Shanghai + + ENTRYPOINT ["/usr/local/bin/trojan-go", "-config"] -CMD ["/etc/trojan-go/config.json"] \ No newline at end of file +CMD ["/etc/trojan-go/server.json"] +