Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,7 +14,7 @@ RUN pip install -r requirements.txt
|
|
14 |
COPY . /code
|
15 |
|
16 |
# Expose the port on which the application will run
|
17 |
-
EXPOSE
|
18 |
|
19 |
# Run the FastAPI application using uvicorn server
|
20 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
14 |
COPY . /code
|
15 |
|
16 |
# Expose the port on which the application will run
|
17 |
+
EXPOSE 7860
|
18 |
|
19 |
# Run the FastAPI application using uvicorn server
|
20 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|