DrTech commited on
Commit
2c01d49
·
verified ·
1 Parent(s): 174335a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,7 +11,7 @@ WORKDIR /app
11
  RUN pip install -r requirements.txt
12
 
13
  # Make port 8501 available to the world outside this container
14
- EXPOSE 80
15
 
16
  RUN mkdir ~/.streamlit
17
 
@@ -19,6 +19,6 @@ RUN cp config.toml ~/.streamlit/config.toml
19
 
20
  RUN cp credentials.toml ~/.streamlit/credentials.toml
21
 
22
- ENTRYPOINT [ "streamlit", "run" ]
23
  # Run app3.py when the container launches
24
  CMD [ "app3.py"]
 
11
  RUN pip install -r requirements.txt
12
 
13
  # Make port 8501 available to the world outside this container
14
+ EXPOSE 8501
15
 
16
  RUN mkdir ~/.streamlit
17
 
 
19
 
20
  RUN cp credentials.toml ~/.streamlit/credentials.toml
21
 
22
+ ENTRYPOINT ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
23
  # Run app3.py when the container launches
24
  CMD [ "app3.py"]