Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drylikov/azure_api
A Flask API that retrieves Azure service information.
https://github.com/drylikov/azure_api
api azure
Last synced: 2 days ago
JSON representation
A Flask API that retrieves Azure service information.
- Host: GitHub
- URL: https://github.com/drylikov/azure_api
- Owner: drylikov
- License: mit
- Created: 2024-11-12T21:43:20.000Z (3 days ago)
- Default Branch: drylikov
- Last Pushed: 2024-11-12T21:45:35.000Z (3 days ago)
- Last Synced: 2024-11-12T22:30:05.392Z (3 days ago)
- Topics: api, azure
- Language: HTML
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# To run the Flask API inside of a container, the Docker image must exist inside of Azure Container Registry
## To build the Docker image
`docker build -t name_of_docker_image_tag .`## To create the Azuure Container Registry
`az acr create --name name_of_acr --resource-group name_of_rg --sku Standard`
## To log into the ACR from the terminal
`az acr login --name name_of_acr`
## To tag and push the Docker image and prepare it for a push to ACR
`docker tag name_of_docker_image_tag name_of_acr.azurecr.io/azureapi/flask`
`docker push name_of_acr.azurecr.io/azure_api/flask`