kpiitkgp commited on
Commit
78f9e7b
·
verified ·
1 Parent(s): 043d016

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -9,9 +9,8 @@ COPY . .
9
 
10
  # Install Python dependencies listed in requirements.txt
11
  RUN pip3 install -r requirements.txt
12
- EXPOSE 7860
13
 
14
  # Define the command to run the Streamlit app on port 8501 and make it accessible externally
15
- CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
16
 
17
  # NOTE: Disable XSRF protection for easier external access in order to make batch predictions
 
9
 
10
  # Install Python dependencies listed in requirements.txt
11
  RUN pip3 install -r requirements.txt
 
12
 
13
  # Define the command to run the Streamlit app on port 8501 and make it accessible externally
14
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]
15
 
16
  # NOTE: Disable XSRF protection for easier external access in order to make batch predictions