rogerxavier
commited on
Commit
•
b210f0d
1
Parent(s):
4ee24ea
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -63,9 +63,10 @@ RUN pip install uvicorn
|
|
63 |
|
64 |
EXPOSE 7860
|
65 |
|
66 |
-
|
67 |
-
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
|
68 |
|
|
|
69 |
|
70 |
|
71 |
|
|
|
63 |
|
64 |
EXPOSE 7860
|
65 |
|
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 |
|