Spaces:
Sleeping
Sleeping
Chandima Prabhath
Update Dockerfile to install FFmpeg and implement output directory cleanup in video encoding task
0388d92 | FROM python:3.10 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| # Install FFmpeg | |
| RUN apt-get update && apt-get install -y ffmpeg | |
| COPY --chown=user ./requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| EXPOSE 7860 | |
| COPY --chown=user . /app | |
| CMD ["python","run.py"] | |