Last active
July 29, 2021 06:10
-
-
Save berkorbay/29a056f7e0bd128f29cdea930e742f3b to your computer and use it in GitHub Desktop.
Minimal streamlit (v0.85) in Python 3.9.6 Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.9.6 | |
RUN pip install --no-cache-dir streamlit | |
EXPOSE 8501 | |
ENTRYPOINT [ "streamlit" ] | |
CMD ["hello"] | |
## FOR ANY APPLICATION | |
ENTRYPOINT [ "streamlit", "run"] | |
CMD ["my_streamlit_file.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment