Spaces:
Sleeping
Sleeping
BOSS commited on
Commit ·
2b441eb
1
Parent(s): d10c561
修复
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -15,4 +15,4 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 15 |
ENV PORT=7860
|
| 16 |
|
| 17 |
# start the server
|
| 18 |
-
CMD ["
|
|
|
|
| 15 |
ENV PORT=7860
|
| 16 |
|
| 17 |
# start the server
|
| 18 |
+
CMD ["/bin/sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT}"]
|