BBrother commited on
Commit
2cbbd90
1 Parent(s): 54486f3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -8
Dockerfile CHANGED
@@ -33,14 +33,6 @@ RUN --mount=type=secret,id=TOKENS_JSON,dst=/etc/secrets/TOKENS_JSON \
33
  RUN --mount=type=secret,id=CONFIG_JSON,dst=/etc/secrets/CONFIG_JSON \
34
  cat /etc/secrets/CONFIG_JSON > config.json && chmod 777 config.json
35
 
36
- # 获取LICENSE_ID并下载license.jwt
37
- RUN --mount=type=secret,id=LICENSE_ID,dst=/etc/secrets/LICENSE_ID \
38
- if [ -f /etc/secrets/LICENSE_ID ]; then \
39
- license_url=$(cat /etc/secrets/LICENSE_ID) && \
40
- curl -fLo license.jwt "$license_url"; \
41
- else echo "LICENSE_ID secret not found, stopping build" && false; \
42
- fi
43
-
44
  # 修改PandoraNext的执行权限
45
  RUN chmod 777 ./PandoraNext
46
 
 
33
  RUN --mount=type=secret,id=CONFIG_JSON,dst=/etc/secrets/CONFIG_JSON \
34
  cat /etc/secrets/CONFIG_JSON > config.json && chmod 777 config.json
35
 
 
 
 
 
 
 
 
 
36
  # 修改PandoraNext的执行权限
37
  RUN chmod 777 ./PandoraNext
38