Spaces:
Running
Running
Download docker/CPUDockerfile from arvind4632/iopaint-bulk: direct link, hf CLI and curl.
- Browser
- Download file 619 Bytes
-
https://huggingface.co/spaces/arvind4632/iopaint-bulk/resolve/main/docker/CPUDockerfile
- Command line
-
hf download hf://spaces/arvind4632/iopaint-bulk/docker/CPUDockerfile
-
curl -L -o CPUDockerfile https://huggingface.co/spaces/arvind4632/iopaint-bulk/resolve/main/docker/CPUDockerfile
619 Bytes
| FROM python:3.10.11-slim-buster | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| software-properties-common \ | |
| libsm6 libxext6 ffmpeg libfontconfig1 libxrender1 libgl1-mesa-glx \ | |
| curl gcc build-essential | |
| RUN pip install --upgrade pip && \ | |
| pip install torch==1.13.1 torchvision==0.14.1 --extra-index-url https://download.pytorch.org/whl/cpu | |
| ARG version | |
| RUN pip install lama-cleaner==$version | |
| RUN lama-cleaner --install-plugins-package | |
| ENV LD_PRELOAD=/usr/local/lib/python3.10/site-packages/skimage/_shared/../../scikit_image.libs/libgomp-d22c30c5.so.1.0.0 | |
| EXPOSE 8080 | |
| CMD ["bash"] | |