Spaces:
Running
Running
FROM python:3.10 | |
WORKDIR /code | |
RUN apt-get update && apt-get install -y \ | |
git \ | |
git-lfs \ | |
ffmpeg \ | |
libsm6 \ | |
libxext6 \ | |
cmake \ | |
libgl1-mesa-glx \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN pip install --no-cache-dir https://gradio-builds.s3.amazonaws.com/f4d696f71f3fc2f5fd8f9d5f5287cb1d27ef93d4/gradio-3.39.0-py3-none-any.whl | |
COPY . . | |
ENV MPLCONFIGDIR /tmp/configs | |
CMD ["python", "app.py"] |