Ame-Mark commited on
Commit
7e44035
·
verified ·
1 Parent(s): 4cbe40a

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -6,7 +6,8 @@ COPY requirements.txt .
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY app.py .
 
9
 
10
  EXPOSE 8501
11
 
12
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true"]
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY app.py .
9
+ COPY .streamlit/config.toml .streamlit/config.toml
10
 
11
  EXPOSE 8501
12
 
13
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]