From 89aa76617b358acb0f7eec7a61ec69bc09e50e56 Mon Sep 17 00:00:00 2001 From: LEv145 <40071054+LEv145@users.noreply.github.com> Date: Tue, 21 Mar 2023 01:16:16 +0200 Subject: [PATCH] Init docker support --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..1894b6355 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.10-slim + + +ENV CLI_ARGS="" + +COPY . /opt/comfy_ui +WORKDIR /opt/comfy_ui + +RUN PIP_NO_CACHE_DIR=1 pip install --extra-index-url https://download.pytorch.org/whl/cu117 \ +torch==1.13.1 \ +torchvision \ +torchaudio \ +xformers +RUN pip install -r requirements.txt + +CMD python main.py ${CLI_ARGS}