Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -18,5 +18,5 @@ EXPOSE 7860
|
|
| 18 |
|
| 19 |
# Command to run the uvicorn server for FastAPI
|
| 20 |
# This tells Hugging Face how to start your API
|
| 21 |
-
CMD
|
| 22 |
# CMD ["python", "-c", "import time; print('--- Docker container is running successfully! ---'); time.sleep(600)"]
|
|
|
|
| 18 |
|
| 19 |
# Command to run the uvicorn server for FastAPI
|
| 20 |
# This tells Hugging Face how to start your API
|
| 21 |
+
CMD uvicorn app:app --host 0.0.0.0 --port 7860
|
| 22 |
# CMD ["python", "-c", "import time; print('--- Docker container is running successfully! ---'); time.sleep(600)"]
|