Spaces:
Sleeping
Sleeping
| FROM python:3.9-slim-buster | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN apt-get update && apt-get install -y ffmpeg | |
| ENV MPLCONFIGDIR /tmp/matplotlib | |
| RUN mkdir /app/results_vc | |
| RUN chmod -R 777 /app/results_vc | |
| RUN mkdir /app/results_vt | |
| RUN chmod -R 777 /app/results_vt | |
| RUN mkdir /app/results_wt | |
| RUN chmod -R 777 /app/results_wt | |
| COPY . . | |
| CMD ["python", "app.py"] |