Shabi23 commited on
Commit
bd12ab8
·
verified ·
1 Parent(s): e630692

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -7
Dockerfile CHANGED
@@ -16,11 +16,7 @@ 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
- # Make port 7680 available to the world outside this container
20
- EXPOSE 7680
21
 
22
- # Define environment variable for Flask app port
23
- ENV PORT=7680
24
-
25
- # Run the application using Gunicorn
26
- CMD ["gunicorn", "--bind", "0.0.0.0:7680", "application:app"]
 
16
  # Set the environment variable for Hugging Face cache location
17
  ENV HF_HOME=/app/.cache
18
 
19
+ # Remove the EXPOSE port and Gunicorn part
 
20
 
21
+ # Run the Flask app directly
22
+ CMD ["python", "application.py"]