diff --git a/.dockerignore b/.dockerignore index 48fda6f..34835f2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -61,3 +61,4 @@ results/ outputs/ ckpts/ HunyuanVideo-1.5/ckpts/ +*.sh diff --git a/Dockerfile b/Dockerfile index 09a67ce..9c6d9b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,9 +36,6 @@ RUN python -m pip install --upgrade pip setuptools wheel \ && pip install -r /app/requirements.txt \ && pip install -U accelerate safetensors -# Copy project code. -COPY . /app - # Ensure HunyuanVideo source exists in the image. ARG HUNYUAN_REPO=https://github.com/Tencent-Hunyuan/HunyuanVideo-1.5.git RUN if [ ! -f /app/HunyuanVideo-1.5/requirements.txt ]; then \ @@ -62,5 +59,7 @@ RUN if [ "$INSTALL_OPTIONAL_ATTENTION" = "1" ]; then \ cd /tmp/SageAttention && python setup.py install; \ fi +COPY . . + # Default pipeline entrypoint. CMD ["python", "run_video_pipeline.py"]