Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -13,5 +13,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 13 |
# Copy the rest of the application code into the container
|
| 14 |
COPY . .
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
# Command to run the FastAPI application using uvicorn
|
| 17 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 13 |
# Copy the rest of the application code into the container
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
+
# Expose the port the app runs on
|
| 17 |
+
EXPOSE 7860
|
| 18 |
+
|
| 19 |
# Command to run the FastAPI application using uvicorn
|
| 20 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|