Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
|
@@ -50,9 +50,8 @@ RUN pip install --no-cache-dir \
|
|
| 50 |
|
| 51 |
|
| 52 |
|
|
|
|
|
|
|
| 53 |
|
| 54 |
-
#
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
# Command to run FastAPI server
|
| 58 |
-
CMD ["uvicorn", "api.server:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
+
# Expose the API port
|
| 54 |
+
EXPOSE 7860
|
| 55 |
|
| 56 |
+
# Start FastAPI (main.py is inside app/)
|
| 57 |
+
CMD ["uvicorn", "api.server:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|