https://github.com/jfoshee/streamlit_docker_test
Example of deploying a Streamlit app using Docker
https://github.com/jfoshee/streamlit_docker_test
Last synced: about 2 months ago
JSON representation
Example of deploying a Streamlit app using Docker
- Host: GitHub
- URL: https://github.com/jfoshee/streamlit_docker_test
- Owner: jfoshee
- Created: 2023-05-07T17:04:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-07T17:04:48.000Z (about 2 years ago)
- Last Synced: 2025-05-08T03:49:19.922Z (about 2 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Building Docker Image
Must set target platform if building from Apple Silicon version of Docker.
```sh
docker image build -t streamlit_test_amd64 --platform linux/amd64 .
```## Push to Azure
Assume already created a [Azure Container Registry][]
#### One Time Docker Login
```sh
docker login intbasiscontainers.azurecr.io
```Paste username and password from Credentials page in Azure Portal
#### Push
```sh
docker tag streamlit_test_amd64 intbasiscontainers.azurecr.io/streamlit_test_amd64
docker push intbasiscontainers.azurecr.io/streamlit_test_amd64
```[Azure Container Registry]: https://azure.microsoft.com/en-us/products/container-registry