FROM python:3.12-slim-bookworm # The ADR-0041 trap: an image that asks for every GPU itself. The proxy must force it empty. ENV NVIDIA_VISIBLE_DEVICES=all PIP_NO_CACHE_DIR=1 RUN pip install --only-binary=:all: torch==2.14.1 COPY app.py /app/app.py USER 1000 CMD ["python", "/app/app.py"]