Anthony Truchet commited on
Commit
a2dbf08
·
1 Parent(s): bf5d9ea

fix: fix docker bind configuration

Browse files
Files changed (2) hide show
  1. .streamlit/config.toml +2 -0
  2. Dockerfile +1 -0
.streamlit/config.toml CHANGED
@@ -7,3 +7,5 @@ font="sans serif"
7
 
8
  [server]
9
  maxUploadSize = 200
 
 
 
7
 
8
  [server]
9
  maxUploadSize = 200
10
+ address = "0.0.0.0"
11
+ port = 8501
Dockerfile CHANGED
@@ -31,6 +31,7 @@ USER root
31
  RUN chown user /data/.huggingface
32
  USER user
33
 
 
34
  EXPOSE 8501
35
  CMD streamlit run app.py \
36
  --server.headless true \
 
31
  RUN chown user /data/.huggingface
32
  USER user
33
 
34
+ # Expose streamlit application
35
  EXPOSE 8501
36
  CMD streamlit run app.py \
37
  --server.headless true \