IOPaint/docker/GPUDockerfile

18 lines
455 B
Plaintext
Raw Normal View History

2022-10-05 17:15:09 +02:00
FROM nvidia/cuda:11.6.1-runtime-ubuntu20.04
RUN apt-get update && apt-get install -y --no-install-recommends \
software-properties-common \
libsm6 libxext6 ffmpeg libfontconfig1 libxrender1 libgl1-mesa-glx \
curl python3-pip
RUN pip3 install --upgrade pip && \
2022-11-01 02:09:43 +01:00
pip3 install torch==1.12.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
ARG version
RUN pip3 install lama-cleaner==$version
2022-10-05 17:15:09 +02:00
EXPOSE 8080
2022-11-01 02:09:43 +01:00
CMD ["bash"]