Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -20,7 +20,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 20 |
COPY . /app
|
| 21 |
|
| 22 |
# Expose the port that the FastAPI app runs on
|
| 23 |
-
EXPOSE
|
| 24 |
|
| 25 |
# Command to run the app with Gunicorn and Uvicorn workers
|
| 26 |
-
CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--workers", "4", "--bind", "0.0.0.0:
|
|
|
|
| 20 |
COPY . /app
|
| 21 |
|
| 22 |
# Expose the port that the FastAPI app runs on
|
| 23 |
+
EXPOSE 8001
|
| 24 |
|
| 25 |
# Command to run the app with Gunicorn and Uvicorn workers
|
| 26 |
+
CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--workers", "4", "--bind", "0.0.0.0:8001", "main:app"]
|