Skip to content

A sample streamlit web application that can be run standalone or as a Docker container.

Notifications You must be signed in to change notification settings

smith8ca/streamlit-container-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate new SSL certs

If you would like to create new SSL certificates, run the following from the root directory:

openssl req -x509 -newkey rsa:4096 -nodes -out ssl/cert.pem -keyout ssl/key.pem -days 365

Launching the app

To launch the application, execute the following from the root directory:

streamlit run app.py --server.port=443 --server.address=0.0.0.0 --server.sslKeyFile=ssl/key.pem --server.sslCertFile=ssl/cert.pem

Docker Container Development

Build docker image:

docker build -t streamlit-container-app .

Run the docker image:

docker run -d --name streamlit-app -p 443:443 streamlit-container-app

Sources & References

About

A sample streamlit web application that can be run standalone or as a Docker container.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published