IOPaint/docker/CPUDockerfile

18 lines
413 B
Plaintext
Raw Normal View History

2022-10-05 17:15:09 +02:00
FROM python:3.7.4-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
RUN pip install --upgrade pip && \
2023-01-20 02:30:14 +01:00
pip install torch==1.13.1 --extra-index-url https://download.pytorch.org/whl/cpu
2022-11-01 02:09:43 +01:00
ARG version
RUN pip install lama-cleaner==$version
2022-10-05 17:15:09 +02:00
EXPOSE 8080
2022-11-01 02:09:43 +01:00
CMD ["bash"]