mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
+8
-1
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user