mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 03:37:07 +08:00
Init docker support
This commit is contained in:
parent
e391ffbfa9
commit
89a2f464d9
13
Dockerfile
13
Dockerfile
@ -1,16 +1,19 @@
|
||||
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 \
|
||||
torch==1.13.1+cu117 \
|
||||
torchvision \
|
||||
torchaudio \
|
||||
xformers
|
||||
xformers \
|
||||
triton
|
||||
|
||||
COPY . /opt/comfy_ui
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
|
||||
ENV CLI_ARGS=""
|
||||
CMD python main.py ${CLI_ARGS}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user