Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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=
|
47 |
&& chmod +x start.sh
|
48 |
|
49 |
# 开放端口
|
50 |
-
EXPOSE 7860
|
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"]
|