Spaces:
Running
Running
File size: 310 Bytes
0718c19 4daab41 0718c19 4daab41 0718c19 11cd6fd 0718c19 4daab41 0718c19 4daab41 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | FROM python:3.8-slim
WORKDIR /app
COPY requirements.txt .
RUN apt-get update && apt-get install -y ffmpeg && pip install -r requirements.txt
COPY . .
ENV MPLCONFIGDIR=/tmp/mplcache
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV UPLOAD_FOLDER=/tmp/output
EXPOSE 7860
CMD ["flask", "run", "--port=7860"] |