Perform the following steps:
- The first step in creating a Docker image is to create a Dockerfile in our Visual Studio project. Create .Dockerfile with the following contents:
FROM microsoft/azure-functions-dotnet-core2.0:2.0 COPY ./bin/Release/netstandard2.0 /home/site/wwwroot
- Then, navigate to Command Prompt and run the following Docker command, docker build -t functionsindocker ., taking care not to miss the period at the end of the command, to create a Docker image. Once you execute the docker build command, you should see something similar to that shown in the following screenshot:

- Once ...