Spaces:
Runtime error
Runtime error
| FROM python:3.9-slim | |
| WORKDIR /app | |
| ENV XDG_CACHE_HOME=/app/.cache | |
| ENV MPLCONFIGDIR=/app/.config/matplotlib | |
| RUN mkdir -p /app/.config/matplotlib /app/.cache && \ | |
| chmod -R 777 /app/.config /app/.cache | |
| RUN mkdir -p $MPLCONFIGDIR | |
| COPY app.py /app | |
| COPY requirements.txt /app | |
| RUN pip install -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |