Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfoshee/streamlit_docker_test
Example of deploying a Streamlit app using Docker
https://github.com/jfoshee/streamlit_docker_test
Last synced: 14 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-07T17:04:48.000Z (over 1 year ago)
- Last Synced: 2024-12-20T19:26:22.248Z (19 days 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