wsj1995 commited on
Commit
c75e74a
·
verified ·
1 Parent(s): 6a4e5af

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -6
Dockerfile CHANGED
@@ -1,9 +1,10 @@
1
- FROM centos:7
 
2
 
3
- COPY ./trojan /usr/local/bin/trojan
4
- RUN chmod +x /usr/local/bin/trojan
5
 
6
- RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
7
- cat /run/secrets/TROJAN_CONFIG > /tmp/config.json
8
 
9
- CMD [ "/usr/local/bin/trojan", "/tmp/config.json" ]
 
1
+ FROM v2ray/official
2
+ # FROM centos:7
3
 
4
+ # COPY ./trojan /usr/local/bin/trojan
5
+ # RUN chmod +x /usr/local/bin/trojan
6
 
7
+ # RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
8
+ # cat /run/secrets/TROJAN_CONFIG > /tmp/config.json
9
 
10
+ # CMD [ "/usr/local/bin/trojan", "/tmp/config.json" ]