mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-11 03:37:06 +08:00
Init docker support
This commit is contained in:
parent
c6ed6dfa7b
commit
89aa76617b
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -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}
|
||||||
Loading…
x
Reference in New Issue
Block a user