Merge pull request #199 from Loyalsoldier/update-geofile-link

Geofile: use v2fly source
This commit is contained in:
Page Fault
2020-10-08 14:29:27 +00:00
committed by GitHub
+3 -3
View File
@@ -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"]