waifuwave/Dockerfile
Xe Iaso 2dbc651cec
move image copies to the top
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-14 12:04:56 -05:00

21 lines
856 B
Docker

FROM anu-registry.fly.dev/runners/comfyui:latest
COPY models/checkpoints /opt/comfyui/models/checkpoints
COPY models/embeddings /opt/comfyui/models/embeddings
COPY models/loras /opt/comfyui/models/loras
COPY models/vae /opt/comfyui/models/vae
RUN pip install Flask \
&& git clone https://github.com/TemryL/ComfyS3 /opt/comfyui/custom_nodes/comfys3 \
&& pip install -r /opt/comfyui/custom_nodes/comfys3/requirements.txt \
&& rm -rf /opt/comfyui/custom_nodes/comfys3/.git \
&& rm /opt/comfyui/custom_nodes/comfys3/.env \
&& touch /opt/comfyui/custom_nodes/comfys3/.env \
&& git clone https://github.com/Ttl/ComfyUi_NNLatentUpscale /opt/comfyui/custom_nodes/ComfyUi_NNLatentUpscale \
&& rm -rf /opt/comfyui/custom_nodes/ComfyUi_NNLatentUpscale/.git
COPY waifuwave.py .
COPY fetch_models.py .
COPY startup.sh .
CMD ["/opt/comfyui/startup.sh"]