kingtest commited on
Commit
e8bc0f4
1 Parent(s): d78b459

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -16,6 +16,7 @@ RUN ARCH=$(uname -m) && \
16
  curl -s "https://api.github.com/repos/$REPO/releases/tags/$TAG" | jq -r --arg FILE_PATTERN $FILE_PATTERN '.assets[] | select(.name | test($FILE_PATTERN)).browser_download_url' | xargs -n 1 curl -LO && \
17
  unzip -P linux.do '*.zip' -d ./ && \
18
  ZIP_FILE=$(ls *.zip) && DIR_NAME=$(basename "$ZIP_FILE" .zip) && mv $DIR_NAME/* . && \
 
19
  sed -i 's/127.0.0.1/0.0.0.0/g' config.json && \
20
  rm -rf *.zip && rmdir $DIR_NAME
21
 
 
16
  curl -s "https://api.github.com/repos/$REPO/releases/tags/$TAG" | jq -r --arg FILE_PATTERN $FILE_PATTERN '.assets[] | select(.name | test($FILE_PATTERN)).browser_download_url' | xargs -n 1 curl -LO && \
17
  unzip -P linux.do '*.zip' -d ./ && \
18
  ZIP_FILE=$(ls *.zip) && DIR_NAME=$(basename "$ZIP_FILE" .zip) && mv $DIR_NAME/* . && \
19
+ chmod 644 config.json && \
20
  sed -i 's/127.0.0.1/0.0.0.0/g' config.json && \
21
  rm -rf *.zip && rmdir $DIR_NAME
22