Spaces:
Runtime error
Runtime error
FROM python:3.9 | |
ENV HOME=/home | |
WORKDIR /code | |
COPY ./requirements.txt /code/requirements.txt | |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
RUN apt update && apt install -y fuse libfuse2 fonts-dejavu | |
RUN apt install --assume-yes apt-utils \ | |
&& apt install --assume-yes software-properties-common \ | |
&& apt install --assume-yes dbus \ | |
&& apt install --assume-yes cgmanager \ | |
&& apt install --assume-yes glib-networking \ | |
&& apt install --assume-yes libnih-dbus-dev \ | |
&& apt install --assume-yes dconf-cli \ | |
&& apt install --assume-yes fontconfig | |
COPY . . | |
RUN chmod +x MuseScore-4.1.1.232071203-x86_64.AppImage | |
RUN mkdir -m 700 flagged | |
CMD ["uvicorn", "app:gradio_app", "--host", "0.0.0.0", "--port", "7860"] |