Azure / Azure/azure-functions-core-tools

Automatically build image if Dockerfile is present

Open
#594 0 comments 3 reactions 1 assignee Claimed by @ahmelsayed View on GitHub
feature size:small
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
5d 4h
Merged PRs (30d)
15

Description

**Feature Idea - Looking for votes and/or user input to gauge traction.**

If a `Dockerfile` is present in the current directory, automatically build the image and run the container when the host is started ->

On `func host start` , run:

1.
``` bash
> docker build . -t
```

2.
``` bash
> docker run -p 80:80
```

Similarly, during publish, automatically build and publish the image to the given registry and use it to start a Linux(Docker) dedicated app.

``` bash
> azure functionapp publish {function_app_name} --registry
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.