Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -15,7 +15,7 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
15 |
COPY main.py .
|
16 |
|
17 |
# Expose the port FastAPI will run on.
|
18 |
-
EXPOSE
|
19 |
|
20 |
# Command to run the FastAPI app using uvicorn via the module interface.
|
21 |
-
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
15 |
COPY main.py .
|
16 |
|
17 |
# Expose the port FastAPI will run on.
|
18 |
+
EXPOSE 7060
|
19 |
|
20 |
# Command to run the FastAPI app using uvicorn via the module interface.
|
21 |
+
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7060"]
|