Spaces:
Sleeping
Sleeping
MatteoAldovardi commited on
Commit ·
7605947
1
Parent(s): 5ade02b
- .DS_Store +0 -0
- Dockerfile +2 -2
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
Dockerfile
CHANGED
|
@@ -17,10 +17,10 @@ RUN mkdir -p models
|
|
| 17 |
|
| 18 |
# Expose the port FastAPI will run on. Hugging Face Spaces often expects
|
| 19 |
# port 8000 for web apps.
|
| 20 |
-
EXPOSE
|
| 21 |
|
| 22 |
# Command to run the Uvicorn server
|
| 23 |
# The --host 0.0.0.0 makes the server accessible from outside the
|
| 24 |
# container
|
| 25 |
# The --port 7860 matches the EXPOSE instruction
|
| 26 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 17 |
|
| 18 |
# Expose the port FastAPI will run on. Hugging Face Spaces often expects
|
| 19 |
# port 8000 for web apps.
|
| 20 |
+
EXPOSE 8000
|
| 21 |
|
| 22 |
# Command to run the Uvicorn server
|
| 23 |
# The --host 0.0.0.0 makes the server accessible from outside the
|
| 24 |
# container
|
| 25 |
# The --port 7860 matches the EXPOSE instruction
|
| 26 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|