1
0

Moved COPY code statement, added shell scripts to the dockerignore

This commit is contained in:
2026-04-02 11:14:51 +02:00
parent 686a458905
commit 48a11705f3
2 changed files with 3 additions and 3 deletions

View File

@@ -61,3 +61,4 @@ results/
outputs/ outputs/
ckpts/ ckpts/
HunyuanVideo-1.5/ckpts/ HunyuanVideo-1.5/ckpts/
*.sh

View File

@@ -36,9 +36,6 @@ RUN python -m pip install --upgrade pip setuptools wheel \
&& pip install -r /app/requirements.txt \ && pip install -r /app/requirements.txt \
&& pip install -U accelerate safetensors && pip install -U accelerate safetensors
# Copy project code.
COPY . /app
# Ensure HunyuanVideo source exists in the image. # Ensure HunyuanVideo source exists in the image.
ARG HUNYUAN_REPO=https://github.com/Tencent-Hunyuan/HunyuanVideo-1.5.git ARG HUNYUAN_REPO=https://github.com/Tencent-Hunyuan/HunyuanVideo-1.5.git
RUN if [ ! -f /app/HunyuanVideo-1.5/requirements.txt ]; then \ 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; \ cd /tmp/SageAttention && python setup.py install; \
fi fi
COPY . .
# Default pipeline entrypoint. # Default pipeline entrypoint.
CMD ["python", "run_video_pipeline.py"] CMD ["python", "run_video_pipeline.py"]