mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
Merge pull request #199 from Loyalsoldier/update-geofile-link
Geofile: use v2fly source
This commit is contained in:
+3
-3
@@ -4,8 +4,8 @@ RUN apk add git make &&\
|
||||
git clone https://github.com/p4gefau1t/trojan-go.git &&\
|
||||
cd trojan-go &&\
|
||||
make &&\
|
||||
wget https://github.com/v2ray/domain-list-community/raw/release/dlc.dat -O build/geosite.dat &&\
|
||||
wget https://github.com/v2ray/geoip/raw/release/geoip.dat -O build/geoip.dat
|
||||
wget https://github.com/v2fly/domain-list-community/raw/release/dlc.dat -O build/geosite.dat &&\
|
||||
wget https://github.com/v2fly/geoip/raw/release/geoip.dat -O build/geoip.dat
|
||||
|
||||
FROM alpine
|
||||
WORKDIR /
|
||||
@@ -13,4 +13,4 @@ COPY --from=builder /trojan-go/build /usr/local/bin/
|
||||
COPY --from=builder /trojan-go/example/server.json /etc/trojan-go/config.json
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/trojan-go", "-config"]
|
||||
CMD ["/etc/trojan-go/config.json"]
|
||||
CMD ["/etc/trojan-go/config.json"]
|
||||
|
||||
Reference in New Issue
Block a user