# To enable ssh & remote debugging on app service change the base image to the one below # FROM mcr.microsoft.com/azure-functions/python:3.0-python3.9-appservice FROM mcr.microsoft.com/azure-functions/python:4-python3.9-appservice ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ AzureFunctionsJobHost__Logging__Console__IsEnabled=true # Copy Requirements File ADD ./requirements.txt . # Upgrade PIP RUN pip install --upgrade pip --progress-bar off # Install Dependencies RUN pip install --no-cache-dir --upgrade -r ./requirements.txt --progress-bar off # Copy Application Code to Function App Root Directory COPY . /home/site/wwwroot