Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ COPY . /app
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
# Expose the port FastAPI will run on
|
14 |
-
EXPOSE
|
15 |
|
16 |
# Command to run the FastAPI application with Uvicorn
|
17 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
# Expose the port FastAPI will run on
|
14 |
+
EXPOSE 7860
|
15 |
|
16 |
# Command to run the FastAPI application with Uvicorn
|
17 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--reload"]
|