Sujith2121 commited on
Commit
ace16a9
·
verified ·
1 Parent(s): 8945774

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -11,8 +11,8 @@ RUN pip install --no-cache-dir -r requirements.txt
11
  # Copy all app files
12
  COPY . .
13
 
14
- # Expose Streamlit's default port
15
- EXPOSE 7860
16
 
17
- # Run Streamlit
18
- CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
11
  # Copy all app files
12
  COPY . .
13
 
14
+ # Expose the correct port for Hugging Face
15
+ EXPOSE 8080
16
 
17
+ # Run Streamlit on port 8080
18
+ CMD ["streamlit", "run", "app.py", "--server.port=8080", "--server.address=0.0.0.0"]