ykl45 commited on
Commit
f07f755
1 Parent(s): fb8cbba

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -2
Dockerfile CHANGED
@@ -14,9 +14,7 @@ WORKDIR /app
14
  RUN --mount=type=secret,id=ZIP_PASSWD,mode=0444,required=true \
15
  version=$(basename $(curl -sL -o /dev/null -w %{url_effective} https://github.com/wozulong/Palaude/releases/latest)) \
16
  && base_url="https://github.com/wozulong/Palaude/releases/expanded_assets/$version" \
17
- && echo $base_url \
18
  && latest_url=https://github.com/$(curl -sL $base_url | grep -o 'href="[^"]*linux-amd64[^"]*\.zip"' | sed 's/.*href="//' | sed 's/".*//') \
19
- && echo $latest_url \
20
  && curl -Lo palaude.zip $latest_url \
21
  && 7z e -p$(cat /run/secrets/ZIP_PASSWD) palaude.zip \
22
  && rm palaude.zip \
 
14
  RUN --mount=type=secret,id=ZIP_PASSWD,mode=0444,required=true \
15
  version=$(basename $(curl -sL -o /dev/null -w %{url_effective} https://github.com/wozulong/Palaude/releases/latest)) \
16
  && base_url="https://github.com/wozulong/Palaude/releases/expanded_assets/$version" \
 
17
  && latest_url=https://github.com/$(curl -sL $base_url | grep -o 'href="[^"]*linux-amd64[^"]*\.zip"' | sed 's/.*href="//' | sed 's/".*//') \
 
18
  && curl -Lo palaude.zip $latest_url \
19
  && 7z e -p$(cat /run/secrets/ZIP_PASSWD) palaude.zip \
20
  && rm palaude.zip \