Skip to content

Commit ccd8a0f

Browse files
author
thr3a
committed
update: iopaint事前ダウンロード
1 parent fc31999 commit ccd8a0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

iopaint/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
66

77
RUN pip install iopaint rembg
88
RUN iopaint download --model=lama
9-
ENTRYPOINT ["iopaint", "start", "--model=lama", "--device=cuda", "--host=0.0.0.0", "--port=8080", "--enable-remove-bg", "--enable-anime-seg"]
9+
RUN python -c "from iopaint.plugins.anime_seg import AnimeSeg; AnimeSeg()"
1010

11+
ENTRYPOINT ["iopaint"]
12+
CMD ["start", "--device=cuda", "--host=0.0.0.0", "--port=8080", "--enable-remove-bg", "--remove-bg-model", "briaai/RMBG-1.4"]

0 commit comments

Comments
 (0)