pachet commited on
Commit
b2b3782
·
1 Parent(s): 5554448

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 g++ cmake make \
6
- libglib2.0-0 libxml2 libzip4 libcurl4 \
 
 
 
 
 
 
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; print('Verovio installed:', verovio.toolkit().getVersion())"
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