26 lines
658 B
Plaintext
26 lines
658 B
Plaintext
= Azure Functions Container
|
|
|
|
This is a Docker container to make running
|
|
link:https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local[Azure Functions Core Tools]
|
|
easier.
|
|
|
|
|
|
link:https://hub.docker.com/r/rtyler/azure-functions/[On DockerHub].
|
|
|
|
[source]
|
|
----
|
|
docker pull rtyler/azure-functions
|
|
----
|
|
|
|
== Running
|
|
|
|
The easiest way to run an app is to change to the directory where your Azure
|
|
Function app lives and run:
|
|
|
|
[source,bash]
|
|
----
|
|
docker run --net host --rm -ti -v $PWD:$PWD -w $PWD rtyler/azure-functions func start
|
|
----
|
|
|
|
image::https://github.com/rtyler/azure-functions-docker/blob/master/local-azure-functions.png?raw=true[In action]
|