FROM ubuntu:20.04 # Set environment variables to avoid interactive prompts ENV DEBIAN_FRONTEND=noninteractive ENV TZ=America/New_York # Install system dependencies RUN apt-get update && apt-get install -y \ python3 \ python3-pip \ python3-dev \ build-essential \ libssl-dev \ libffi-dev \ python3-setuptools \ git \ cmake \ tzdata \ && rm -rf /var/lib/apt/lists/* # Install Python packages RUN pip3 install --no-cache-dir \ SimpleITK \ pyradiomics \ scikit-learn \ numpy \ pandas \ matplotlib \ scipy \ nibabel WORKDIR /app CMD ["tail", "-f", "/dev/null"]