Spaces:
Sleeping
Sleeping
Abdul Rafay commited on
Commit ·
c809453
1
Parent(s): b6db094
modified
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -16,8 +16,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 16 |
# Copy all project files
|
| 17 |
COPY . .
|
| 18 |
|
| 19 |
-
# Hugging Face expects port
|
| 20 |
-
EXPOSE
|
| 21 |
|
| 22 |
# Start FastAPI (which mounts Gradio)
|
| 23 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
|
| 16 |
# Copy all project files
|
| 17 |
COPY . .
|
| 18 |
|
| 19 |
+
# Hugging Face expects port 8000
|
| 20 |
+
EXPOSE 8000
|
| 21 |
|
| 22 |
# Start FastAPI (which mounts Gradio)
|
| 23 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|