Merge pull request #50 from bigbighill/dev

增加时区,方便查看日志
This commit is contained in:
Page Fault
2020-05-08 11:05:25 +00:00
committed by GitHub
+8 -1
View File
@@ -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"]
CMD ["/etc/trojan-go/server.json"]