Spaces:
Running
Running
Download docker/Dockerfile from HanWangTJU/NMM-data-preprocess: direct link, hf CLI and curl.
- Browser
- Download file 264 Bytes
-
https://huggingface.co/spaces/HanWangTJU/NMM-data-preprocess/resolve/main/docker/Dockerfile
- Command line
-
hf download hf://spaces/HanWangTJU/NMM-data-preprocess/docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/HanWangTJU/NMM-data-preprocess/resolve/main/docker/Dockerfile
264 Bytes
| FROM python:3.12-slim | |
| RUN useradd --create-home --uid 1000 curator | |
| WORKDIR /app | |
| COPY pyproject.toml README.md ./ | |
| COPY image_cleaner ./image_cleaner | |
| RUN python -m pip install --no-cache-dir . | |
| USER curator | |
| ENTRYPOINT ["python", "-m", "image_cleaner"] | |
| CMD ["--help"] | |