Hi all I’m learning docker using the documentation, I have a situation where I’m stuck, and any help on this would be great.
I have a Computer Vision model which is packaged as a microservice using Azure Functions but the model runs in a GPU machine. I have added the function app image but not sure how to add the Nvidia CUDA image to the dockerfile.
attaching my dockerfile code below
FROM mcr.microsoft.com/azure-functions/python:3.0-python3.8 ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ AzureFunctionsJobHost__Logging__Console__IsEnabled=true COPY requirements.txt / RUN python -m venv .venv RUN . .venv/bin/activate RUN pip install -r /requirements.txt COPY . /home/site/wwwroot
Nvidia image which I want to use is the below one