Shabi23 commited on
Commit
d96335a
·
verified ·
1 Parent(s): f6a2a98

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -16,10 +16,9 @@ RUN pip install --no-cache-dir -r Requirements.txt
16
  # Set the environment variable for Hugging Face cache location
17
  ENV HF_HOME=/app/.cache
18
 
19
- # Define environment variable for Flask app port (optional but not needed in HF Spaces)
20
  #ENV PORT=7680
21
 
22
  USER user
23
 
24
- # Run the application using Gunicorn
25
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
16
  # Set the environment variable for Hugging Face cache location
17
  ENV HF_HOME=/app/.cache
18
 
 
19
  #ENV PORT=7680
20
 
21
  USER user
22
 
23
+ # Run the application using Unicorn
24
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]