video-gen-2 / Dockerfile
hivecorp's picture
Update Dockerfile
65ca274 verified
raw
history blame contribute delete
318 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y ffmpeg && apt-get clean
WORKDIR /app
COPY . .
RUN mkdir -p /app/files && chmod -R 777 /app/files
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]