BG5 commited on
Commit
46dbb37
·
verified ·
1 Parent(s): 9254051

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- bash install.sh
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"]