Spaces:
Sleeping
Sleeping
| FROM nvidia/cuda:12.4.1-runtime-ubuntu22.04 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| python3.11 python3-pip git ffmpeg && \ | |
| rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| RUN python3 -c " | |
| from diffusers import LTXPipeline | |
| import torch | |
| pipe = LTXPipeline.from_pretrained('Lightricks/LTX-Video', torch_dtype=torch.float16) | |
| " | |
| EXPOSE 7860 | |
| CMD ["python3", "app.py", "--server_name", "0.0.0.0", "--server_port", "7860"] | |