An open API service indexing awesome lists of open source software.

https://github.com/epomatti/az-function-custom-image

Azure Function with custom image
https://github.com/epomatti/az-function-custom-image

azure azure-function docker

Last synced: 7 months ago
JSON representation

Azure Function with custom image

Awesome Lists containing this project

README

          

# Azure Function with Custom Image

![Az Functions Docker](https://github.com/epomatti/az-function-custom-image/actions/workflows/docker-image.yml/badge.svg)

Custom image for an Azure Functions application.

## Local development

Start the storage emulator:

```sh
azurite-blob -l azurite
```

Create the settings file:

```sh
cp local.settings.Development.json local.settings.json
```

Install and start the app:

```sh
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

func start
```

## Docker

### Reference

[Create a function on Linux using a custom container](https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image?tabs=bash%2Cportal&pivots=programming-language-python)