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