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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -25,7 +25,9 @@ RUN apt-get update && apt-get install -y \
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"]
 
25
  # 下载并执行 install.sh 脚本
26
  # RUN wget -O install.sh https://dl.xp.cn/dl/xp/install.sh && \
27
  # bash install.sh
28
+ RUN chmod +x install.sh
29
+ RUN bash install.sh
30
 
31
  EXPOSE 7860
32
 
33
+ CMD ["sh", "-c", "python main.py"]