Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Last active April 15, 2018 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/6290b23a2d180c06b2f6a5ab9cfb5706 to your computer and use it in GitHub Desktop.
Save justinyoo/6290b23a2d180c06b2f6a5ab9cfb5706 to your computer and use it in GitHub Desktop.
When Azure Functions Meets Container
# This is the old image
FROM microsoft/azure-functions-runtime:v2.0.0-beta1
ENV AzureWebJobsScriptRoot=/home/site/wwwroot
COPY . /home/site/wwwroot
# Gets the nightly build of Azure Functions runtime
FROM microsoft/azure-functions-dotnet-core2.0:dev-jessie
ENV AzureWebJobsScriptRoot=/home/site/wwwroot
COPY . /home/site/wwwroot
node_modules
npm-debug.log
Dockerfile*
docker-compose*
.dockerignore
.git
.gitignore
README.md
LICENSE
.vscode
local.settings.json
{
"disabled": false,
"bindings": [
{
"authLevel": "anonymous",
"name": "req",
"type": "httpTrigger",
"direction": "in",
"route": "test"
},
{
"name": "$return",
"type": "http",
"direction": "out"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment