Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -17,8 +17,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
17 |
# Copy the entire project
|
18 |
COPY . .
|
19 |
|
20 |
-
# Expose the correct port
|
21 |
-
EXPOSE 7860
|
22 |
|
23 |
# Run FastAPI using Uvicorn
|
24 |
-
CMD ["uvicorn", "
|
|
|
17 |
# Copy the entire project
|
18 |
COPY . .
|
19 |
|
20 |
+
# Expose the correct port for Hugging Face Spaces
|
21 |
+
EXPOSE 7860
|
22 |
|
23 |
# Run FastAPI using Uvicorn
|
24 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|