Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +9 -4
Dockerfile
CHANGED
|
@@ -2,14 +2,19 @@ FROM python:3.12-slim
|
|
| 2 |
|
| 3 |
# Install pip + Gradio dependencies
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
-
swig
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
-
|
| 9 |
# Install Python packages
|
| 10 |
RUN pip install --upgrade pip
|
| 11 |
RUN pip install verovio
|
| 12 |
-
RUN python3 -c "import verovio;
|
| 13 |
RUN pip install gradio
|
| 14 |
|
| 15 |
# Copy app and MEI file
|
|
|
|
| 2 |
|
| 3 |
# Install pip + Gradio dependencies
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
+
swig \
|
| 6 |
+
g++ \
|
| 7 |
+
cmake \
|
| 8 |
+
make \
|
| 9 |
+
libglib2.0-dev \
|
| 10 |
+
libxml2-dev \
|
| 11 |
+
libzip-dev \
|
| 12 |
+
libcurl4-openssl-dev \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 14 |
# Install Python packages
|
| 15 |
RUN pip install --upgrade pip
|
| 16 |
RUN pip install verovio
|
| 17 |
+
RUN python3 -c "import verovio, sys; sys.stderr.write('✅ Verovio version: ' + verovio.toolkit().getVersion() + '\n')"
|
| 18 |
RUN pip install gradio
|
| 19 |
|
| 20 |
# Copy app and MEI file
|