File size: 736 Bytes
4c43480
 
542188c
4c43480
 
 
 
 
9e54230
40b387d
 
 
 
 
 
 
 
4c43480
 
 
c01c0a1
4c43480
efb2746
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"]