mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-07-16 12:27:01 +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" ] |