FROM nvidia/cuda:11.7.0-base-ubuntu22.04 RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb RUN dpkg -i cuda-keyring_1.0-1_all.deb RUN apt-get update -y && apt-get install -y gcc python3-dev python3-venv python3-pip COPY requirements.txt requirements.txt RUN python3 -m pip install -r requirements.txt && rm requirements.txt WORKDIR /home/worker COPY src src COPY entrypoint.py entrypoint.py COPY worker.py worker.py COPY config.ini config.ini ENTRYPOINT [ "python3", "entrypoint.py"]