This is a simple example of how to deploy an Azure Function App with an Azure Container Registry (ACR) and Docker.
Build the Docker image and run it locally.
docker compose up
You can now access the api via http://localhost:8080
and the function endpoint via http://localhost:8080/api/httpTriggerTest
.
What you need to do:
- Update the variables in
deploy.sh
- Run the following command:
bash deploy.sh
And there you go! You've deployed an Azure Function App with Docker.