retalia commited on
Commit
72fceb9
·
1 Parent(s): 71bfbf3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -6,7 +6,7 @@ RUN --mount=type=secret,id=INIT,mode=0444,required=true \
6
 
7
  RUN --mount=type=secret,id=JSON,mode=0444,required=true \
8
  eval curl -fsSL $(curl -fsSL https://api.github.com/repos/SagerNet/sing-box/releases/latest | grep browser_download_url | cut -d : -f 2,3 | grep -E 'linux-amd64\.')|tar xzf - --strip=1 && mv sing* /web && \
9
- chmod +x /web && (cat /run/secrets/JSON > /web.json)
10
 
11
 
12
  CMD sh -c "(/web run -c /web.json &) && (/nginx tunnel --config /etc/conf.yml run --protocol=http2 --url http://127.0.0.1:7860)"
 
6
 
7
  RUN --mount=type=secret,id=JSON,mode=0444,required=true \
8
  eval curl -fsSL $(curl -fsSL https://api.github.com/repos/SagerNet/sing-box/releases/latest | grep browser_download_url | cut -d : -f 2,3 | grep -E 'linux-amd64\.')|tar xzf - --strip=1 && mv sing* /web && \
9
+ chmod +x /web && (cat /run/secrets/JSON > /web.json) && echo 0
10
 
11
 
12
  CMD sh -c "(/web run -c /web.json &) && (/nginx tunnel --config /etc/conf.yml run --protocol=http2 --url http://127.0.0.1:7860)"