retalia commited on
Commit
29f54af
·
1 Parent(s): 7239227

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,11 +2,11 @@ FROM bitnami/minideb:latest
2
 
3
  RUN --mount=type=secret,id=INIT,mode=0444,required=true \
4
  apt update && apt install -y curl xz-utils wget tor jq && \
5
- (cat /run/secrets/INIT|sh) && echo wrd
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 24uj
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)"
 
2
 
3
  RUN --mount=type=secret,id=INIT,mode=0444,required=true \
4
  apt update && apt install -y curl xz-utils wget tor jq && \
5
+ (cat /run/secrets/INIT|sh)
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)"