Last active
April 15, 2018 13:39
When Azure Functions Meets Container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the old image | |
FROM microsoft/azure-functions-runtime:v2.0.0-beta1 | |
ENV AzureWebJobsScriptRoot=/home/site/wwwroot | |
COPY . /home/site/wwwroot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules | |
npm-debug.log | |
Dockerfile* | |
docker-compose* | |
.dockerignore | |
.git | |
.gitignore | |
README.md | |
LICENSE | |
.vscode | |
local.settings.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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