You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM microsoft/azure-functions-python3.6:2.0.12121
ENV host:logger:consoleLoggingMode=always
COPY . /home/site/wwwroot
RUN cd /home/site/wwwroot && pip install -r requirements.txt
The I issued docker build and pushed the image to an azure registry.
Then using the portal add a Function App of type Linux Preview Docker (the az commands did not work for me however the deployment via portal). For the container image choose the one previously pushed.
Finally issue these 2 commands that configure parameters of the app:
Also not with the latest dockerfile image .
Also changed to new v2 format of host.json wo. success.
{
"version": "2.0",
"healthMonitor": {
"enabled": true,
"healthCheckInterval": "00:00:10",
"healthCheckWindow": "00:02:00",
"healthCheckThreshold": 6,
"counterThreshold": 0.80
},
"functionTimeout": "00:05:00",
"logging": {
"fileLoggingMode": "debugOnly"
},
"extensions": {
"http": {
"routePrefix": "api",
"maxConcurrentRequests": 5,
"maxOutstandingRequests": 30
},
"queues": {
"visibilityTimeout": "00:00:10"
},
"eventHubs": {
"batchCheckpointFrequency": 1,
"eventProcessorOptions": {
"maxBatchSize": 1000,
"prefetchCount": 1000
}
}
},
"swagger": {
"enabled": true
}
}
The text was updated successfully, but these errors were encountered: