Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -23,7 +23,7 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
23 |
COPY . .
|
24 |
|
25 |
# Expose port 8000 for the FastAPI app
|
26 |
-
EXPOSE
|
27 |
|
28 |
# Command to run the FastAPI app using uvicorn
|
29 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
23 |
COPY . .
|
24 |
|
25 |
# Expose port 8000 for the FastAPI app
|
26 |
+
EXPOSE 7860
|
27 |
|
28 |
# Command to run the FastAPI app using uvicorn
|
29 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|