BBrother commited on
Commit
4bc2f03
1 Parent(s): 144e889

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -43,11 +43,11 @@ RUN mkdir /.cache && chmod 777 /.cache
43
  RUN echo '#!/bin/sh' > start.sh \
44
  && echo 'JAR_URL=$(curl -s https://api.github.com/repos/Yanyutin753/PandoraNext-TokensTool/releases/latest | grep browser_download_url | grep "pandoraNext.*jar" | cut -d "\"" -f 4)' >> start.sh \
45
  && echo 'wget -O pandoraNext.jar "${JAR_URL}"' >> start.sh \
46
- && echo 'java -jar pandoraNext.jar --server.port=7861 --deployWay=releases --deployPosition=default --pandora_Ip=0.0.0.0' >> start.sh \
47
  && chmod +x start.sh
48
 
49
  # 开放端口
50
- EXPOSE 7860 7861
51
 
52
  # 启动命令,这里使用 shell 执行 start.sh 脚本
53
  CMD ["sh", "start.sh"]
 
43
  RUN echo '#!/bin/sh' > start.sh \
44
  && echo 'JAR_URL=$(curl -s https://api.github.com/repos/Yanyutin753/PandoraNext-TokensTool/releases/latest | grep browser_download_url | grep "pandoraNext.*jar" | cut -d "\"" -f 4)' >> start.sh \
45
  && echo 'wget -O pandoraNext.jar "${JAR_URL}"' >> start.sh \
46
+ && echo 'java -jar pandoraNext.jar --server.port=8080 --deployWay=releases --deployPosition=default --pandora_Ip=0.0.0.0' >> start.sh \
47
  && chmod +x start.sh
48
 
49
  # 开放端口
50
+ EXPOSE 7860 8080
51
 
52
  # 启动命令,这里使用 shell 执行 start.sh 脚本
53
  CMD ["sh", "start.sh"]