forked from LiveCarta/ContentGeneration
Moved COPY code statement, added shell scripts to the dockerignore
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user