BG5 commited on
Commit
2bee7e7
·
verified ·
1 Parent(s): b15d099

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -33,4 +33,4 @@ COPY --chown=user . /app
33
  EXPOSE 8080
34
  # CMD ["bash", "-c", '"$(curl -L ${GH_PROXY}https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install']
35
  # 启动顺序:1.下载数据 2.启动同步 3.启动应用
36
- CMD ["sh", "-c", "python main.py&python r2_sync.py sync&open-webui serve"]
 
33
  EXPOSE 8080
34
  # CMD ["bash", "-c", '"$(curl -L ${GH_PROXY}https://raw.githubusercontent.com/0xJacky/nginx-ui/main/install.sh)" @ install']
35
  # 启动顺序:1.下载数据 2.启动同步 3.启动应用
36
+ CMD ["sh", "-c", "python -m uvicorn main:app --port 9000&python r2_sync.py sync&open-webui serve"]