Spaces:
Sleeping
Sleeping
Commit
·
ddc1904
1
Parent(s):
1abc28d
backend deploymemt
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -21,9 +21,9 @@ RUN pip install --no-cache-dir -r requirement.txt
|
|
21 |
ENV PYTHONPATH=/app
|
22 |
|
23 |
# Expose the required port
|
24 |
-
EXPOSE
|
25 |
|
26 |
# Start FastAPI with the correct module path
|
27 |
# CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
28 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
29 |
|
|
|
21 |
ENV PYTHONPATH=/app
|
22 |
|
23 |
# Expose the required port
|
24 |
+
EXPOSE 7860
|
25 |
|
26 |
# Start FastAPI with the correct module path
|
27 |
# CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
28 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
|