javifmz commited on
Commit
1a6a351
·
1 Parent(s): 6c151f4

Refactor and fix file upload.

Browse files
Files changed (2) hide show
  1. .streamlit/config.toml +0 -6
  2. Dockerfile +1 -1
.streamlit/config.toml DELETED
@@ -1,6 +0,0 @@
1
- [server]
2
- enableXsrfProtection = false
3
- maxUploadSize = 2
4
-
5
- [browser]
6
- gatherUsageStats = false
 
 
 
 
 
 
 
Dockerfile CHANGED
@@ -17,4 +17,4 @@ EXPOSE 8501
17
 
18
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
19
 
20
- ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
17
 
18
  HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
19
 
20
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false", "--server.maxUploadSize=2", "--browser.gatherUsageStats=false"]