rk147 commited on
Commit
71bbfb1
·
verified ·
1 Parent(s): a591cec

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -9,6 +9,11 @@ COPY requirements.txt ./
9
  COPY app/ ./app/
10
  COPY app.py ./
11
  RUN pip3 install -r requirements.txt
12
- EXPOSE 8501
13
- HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
14
- ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
 
 
 
 
 
9
  COPY app/ ./app/
10
  COPY app.py ./
11
  RUN pip3 install -r requirements.txt
12
+ EXPOSE 7860
13
+ HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
14
+ ENTRYPOINT ["streamlit", "run", "app.py", \
15
+ "--server.port=7860", \
16
+ "--server.address=0.0.0.0", \
17
+ "--server.enableCORS=false", \
18
+ "--server.enableXsrfProtection=false", \
19
+ "--server.maxUploadSize=200"]