Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -23,7 +23,8 @@ COPY . /app
|
|
23 |
EXPOSE 8001
|
24 |
|
25 |
# Environment variables (set your actual APP_SECRET securely)
|
26 |
-
|
|
|
27 |
|
28 |
# Command to run the app with Gunicorn and Uvicorn workers
|
29 |
CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--workers", "4", "--bind", "0.0.0.0:8001", "main:app"]
|
|
|
23 |
EXPOSE 8001
|
24 |
|
25 |
# Environment variables (set your actual APP_SECRET securely)
|
26 |
+
# It's recommended to pass APP_SECRET at runtime rather than hardcoding it
|
27 |
+
# ENV APP_SECRET=your_app_secret_here
|
28 |
|
29 |
# Command to run the app with Gunicorn and Uvicorn workers
|
30 |
CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "--workers", "4", "--bind", "0.0.0.0:8001", "main:app"]
|