Spaces:
Sleeping
Sleeping
| FROM --platform=linux/amd64 python:3.10-slim | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| FROM --platform=linux/amd64 python:3.10-slim | |
| # Install dependencies needed for MuseScore AppImage | |
| RUN apt-get update && apt-get install -y \ | |
| wget \ | |
| libqt5gui5 \ | |
| libqt5svg5 \ | |
| libpulse0 \ | |
| fontconfig \ | |
| fuse \ | |
| && apt-get clean | |
| # Download and extract MuseScore 3.6.2 AppImage | |
| WORKDIR /tmp | |
| RUN wget https://github.com/musescore/MuseScore/releases/download/v3.6.2/MuseScore-3.6.2.548021370-x86_64.AppImage -O mscore.AppImage \ | |
| && chmod +x mscore.AppImage \ | |
| && ./mscore.AppImage --appimage-extract \ | |
| && mv squashfs-root /opt/mscore \ | |
| && ln -s /opt/mscore/AppRun /usr/bin/mscore \ | |
| && rm mscore.AppImage | |