tang-x commited on
Commit
7815a67
·
verified ·
1 Parent(s): 38861c2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -12,9 +12,6 @@ COPY .env .env
12
  # 暴露端口(Spaces 通常使用 7860)
13
  EXPOSE 7860
14
 
15
- # 创建启动脚本
16
- RUN echo '#!/bin/bash\npython app.py' > docker_run.sh
17
- RUN chmod +x docker_run.sh
18
-
19
  # 设置启动命令
 
20
  CMD ["/start.sh"]
 
12
  # 暴露端口(Spaces 通常使用 7860)
13
  EXPOSE 7860
14
 
 
 
 
 
15
  # 设置启动命令
16
+ CMD ["/docker_run.sh"]
17
  CMD ["/start.sh"]