forked from LiveCarta/ContentGeneration
Moved COPY code statement, added shell scripts to the dockerignore
This commit is contained in:
@@ -61,3 +61,4 @@ results/
|
|||||||
outputs/
|
outputs/
|
||||||
ckpts/
|
ckpts/
|
||||||
HunyuanVideo-1.5/ckpts/
|
HunyuanVideo-1.5/ckpts/
|
||||||
|
*.sh
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user