db0e9f9 e4856a5 db0e9f9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.9-slim WORKDIR /app COPY requirements.txt . RUN pip install -r requirements.txt COPY . . ENV PORT=7860 ENV HF_SPACE=True ENV MPLCONFIGDIR=/tmp/matplotlib-cache RUN mkdir -p $MPLCONFIGDIR && chmod 777 $MPLCONFIGDIR CMD ["python", "app.py"]