From 48a11705f3ed7dc3c8b4146f979e250f267c88b1 Mon Sep 17 00:00:00 2001 From: Artsiom Siamashka Date: Thu, 2 Apr 2026 11:14:51 +0200 Subject: [PATCH] Moved COPY code statement, added shell scripts to the dockerignore --- .dockerignore | 1 + Dockerfile | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) 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"]