mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 09:57:07 +08:00
12 lines
265 B
Docker
12 lines
265 B
Docker
FROM python:3.12-slim
|
|
EXPOSE 8188
|
|
|
|
# Copy the repo and install required dependencies
|
|
WORKDIR /ComfyUI
|
|
COPY . .
|
|
RUN apt update && apt install git -y
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# ComfyUI entrypoint
|
|
WORKDIR /ComfyUI
|
|
CMD [ "python", "main.py" ] |