FROM nvcr.io/nvidia/l4t-pytorch:r35.2.1-pth2.0-py3 ENV PYTHONUNBUFFERED 1 WORKDIR /usr/src/app # Install packages RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY . .