Niansuh commited on
Commit
3eb1dea
·
verified ·
1 Parent(s): 9bb866e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- ENV APP_SECRET=your_app_secret_here
 
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"]