rogerxavier commited on
Commit
e2e4aba
1 Parent(s): a210b38

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -66,7 +66,7 @@ EXPOSE 7860
66
  #为了不和imagemagick的uvicorn混合,决定python server.py启动而不是cmd启动
67
  # CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
68
 
69
- CMD ["python3.9", "main.py"]
70
 
71
 
72
 
 
66
  #为了不和imagemagick的uvicorn混合,决定python server.py启动而不是cmd启动
67
  # CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
68
 
69
+ RUN python3.9 server.py
70
 
71
 
72