These scripts deploy and validate a Python Flask application running on Azure Web App for Containers.
bash scripts/deploy.shThe deployment script creates:
- Resource group
- Azure Container Registry with admin credentials enabled
- Custom Docker image built from
src/Dockerfile - Linux App Service Plan
- Web App configured to use the custom image
If pushing to the emulated registry is unavailable in the current LocalStack environment, the script falls back to the local Docker image tag.
bash scripts/validate.shbash scripts/call-web-app.shThe call script first uses the LocalStack proxy endpoint and then, when available, calls the Docker host port mapped to the emulated Web App container.