Download Dockerfile from ft42/PiNS: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/ft42/PiNS/resolve/main/Dockerfile
- Command line
-
hf download hf://ft42/PiNS/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/ft42/PiNS/resolve/main/Dockerfile
635 Bytes
| 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"] |