Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -10,8 +10,8 @@ COPY . /app
|
|
| 10 |
# Install dependencies
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
# Expose
|
| 14 |
-
EXPOSE
|
| 15 |
|
| 16 |
-
# Run FastAPI using Uvicorn
|
| 17 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 10 |
# Install dependencies
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
+
# Expose port 8080 instead of port 80
|
| 14 |
+
EXPOSE 8080
|
| 15 |
|
| 16 |
+
# Run FastAPI using Uvicorn, binding to port 8080
|
| 17 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
|