| FROM ubuntu:20.04 | |
| # 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 \ | |
| && 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"] |