LTX-FlowB-Studio / Dockerfile
epic98's picture
Upload folder using huggingface_hub
282eaa8 verified
Raw
History Blame Contribute Delete
526 Bytes
FROM python:3.11
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
curl \
ffmpeg \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip wheel setuptools && \
pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p data/staging data/outputs ~/.kaggle ~/.config/kaggle && chmod -R 777 data
ENV PORT=7860
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]