To build: docker build -t azure-func-dev-env .
To run: docker run -it -v $HOME:/root -p 7071:7071 azure-func-dev-env bash
Example scenario:
docker build --no-cache -t azure-func-dev-env https://gist.githubusercontent.com/lastcoolnameleft/05b6b09735fb435b2cb4469f6cf30ac6/raw/7312df8d2c9c05ebc6f0da029661a6a25750ecf9/Dockerfile
docker run -it -v $HOME:/root -p 7071:7071 azure-func-dev-env bash
cd /root
func init MyFunctionProj
cd MyFunctionProj
func host start
# Go to http://localhost:7071 in browser