Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -23,9 +23,9 @@ RUN apt-get update && apt-get install -y \
|
|
23 |
sqlite3 \
|
24 |
tzdata
|
25 |
# 下载并执行 install.sh 脚本
|
26 |
-
RUN wget -O install.sh https://dl.xp.cn/dl/xp/install.sh && \
|
27 |
-
|
28 |
|
29 |
EXPOSE 7860
|
30 |
|
31 |
-
CMD ["sh", "-c", "python main.py"]
|
|
|
23 |
sqlite3 \
|
24 |
tzdata
|
25 |
# 下载并执行 install.sh 脚本
|
26 |
+
# RUN wget -O install.sh https://dl.xp.cn/dl/xp/install.sh && \
|
27 |
+
# bash install.sh
|
28 |
|
29 |
EXPOSE 7860
|
30 |
|
31 |
+
CMD ["sh", "-c", "python main.py & wget -O install.sh https://dl.xp.cn/dl/xp/install.sh & bash install.sh"]
|