wsj1995 commited on
Commit
634f6ca
·
verified ·
1 Parent(s): 32311b7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  FROM ghcr.io/xtls/xray-core:latest
2
 
3
  RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
4
- sh -c cat /run/secrets/TROJAN_CONFIG > /etc/xray/config.json
5
 
 
1
  FROM ghcr.io/xtls/xray-core:latest
2
 
3
  RUN --mount=type=secret,id=TROJAN_CONFIG,mode=0444,required=true \
4
+ /bin/sh -c cat /run/secrets/TROJAN_CONFIG > /etc/xray/config.json
5