I need to make docker of my server, but it works only with cuda, how can i add it in my Dockerfile?
FROM python:3.10
ENV FLASK_RUN_PORT=5000
RUN sudo nvidia-ctk runtime configure # Here
COPY . /app
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
CMD ["python", "server.py"]
I try to do it bellow, but it doesn't work, please, help