AnkushWaghmare commited on
Commit
0389e6d
·
verified ·
1 Parent(s): edfa796

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -13,11 +13,11 @@ RUN pip install --no-cache-dir -r requirements.txt
13
  # Copy the rest of the application files
14
  COPY . .
15
 
16
- # Expose port (Flask default is 5000)
17
- EXPOSE 5000
18
 
19
  # Set environment variables
20
  ENV PYTHONUNBUFFERED=1
21
 
22
- # Run the Flask app
23
- CMD ["python", "app.py"]
 
13
  # Copy the rest of the application files
14
  COPY . .
15
 
16
+ # Expose port 7860 (Hugging Face default)
17
+ EXPOSE 7860
18
 
19
  # Set environment variables
20
  ENV PYTHONUNBUFFERED=1
21
 
22
+ # Run the Flask app on 0.0.0.0:7860 (required by HF)
23
+ CMD ["python", "app.py"]