FROM ghcr.io/lecode-official/comfyui-docker:latest

RUN cd /opt/comfyui-manager \
    && /opt/conda/bin/python -m pip install --no-cache-dir .

COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]