Spaces:
Runtime error
Runtime error
juancopi81
commited on
Commit
•
8f37e44
1
Parent(s):
cca4c18
Add necessary packages
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -9,19 +9,19 @@ RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \
|
|
9 |
DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata
|
10 |
|
11 |
RUN apt-get update -qq && \
|
12 |
-
apt-get install -qq python3-pip build-essential libasound2-dev libjack-dev wget cmake
|
13 |
|
14 |
# Download libfluidsynth source
|
15 |
-
RUN wget https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.
|
16 |
-
tar xzf v2.
|
17 |
-
cd fluidsynth-2.
|
18 |
mkdir build && \
|
19 |
cd build && \
|
20 |
cmake .. && \
|
21 |
make && \
|
22 |
make install && \
|
23 |
cd ../../ && \
|
24 |
-
rm -rf fluidsynth-2.
|
25 |
|
26 |
RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
|
27 |
|
|
|
9 |
DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata
|
10 |
|
11 |
RUN apt-get update -qq && \
|
12 |
+
apt-get install -qq python3-pip build-essential libasound2-dev libjack-dev wget cmake pkg-config libglib2.0-dev
|
13 |
|
14 |
# Download libfluidsynth source
|
15 |
+
RUN wget https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.3.3.tar.gz && \
|
16 |
+
tar xzf v2.3.3.tar.gz && \
|
17 |
+
cd fluidsynth-2.3.3 && \
|
18 |
mkdir build && \
|
19 |
cd build && \
|
20 |
cmake .. && \
|
21 |
make && \
|
22 |
make install && \
|
23 |
cd ../../ && \
|
24 |
+
rm -rf fluidsynth-2.3.3 v2.3.3.tar.gz
|
25 |
|
26 |
RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
|
27 |
|