In the last blog post we have seen how to deploy azure function from visual studio 2019 .

In this tutorial we are going to see how to deploy a function using docker hub .

To use the commands used in powershell first you need to Install the Azure Functions Core Tools .

The script used in the video :

  Script

func init –docker

func new

code .

docker build –tag account/fucnction:v1.

docker run -p 8080:80 -it account/fucnction:v1

docker push account/fucnction:v1

Happy DevOps day =)