Spaces:
Running
Running
Update dockerfile
Browse files- dockerfile +0 -18
dockerfile
CHANGED
@@ -10,30 +10,12 @@ RUN apt-get update && apt-get install -y \
|
|
10 |
cmake \
|
11 |
rsync \
|
12 |
libgl1-mesa-glx \
|
13 |
-
portaudio19-dev \
|
14 |
-
python3-pyaudio \
|
15 |
-
python3-all-dev \
|
16 |
-
pkg-config \
|
17 |
-
libasound2-dev \
|
18 |
-
libportaudio2 \
|
19 |
-
libportaudiocpp0 \
|
20 |
&& rm -rf /var/lib/apt/lists/* \
|
21 |
&& git lfs install
|
22 |
|
23 |
# Set working directory
|
24 |
WORKDIR /app
|
25 |
|
26 |
-
# Install portaudio from source
|
27 |
-
RUN wget http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz \
|
28 |
-
&& tar -zxvf pa_stable_v190700_20210406.tgz \
|
29 |
-
&& cd portaudio \
|
30 |
-
&& ./configure \
|
31 |
-
&& make \
|
32 |
-
&& make install \
|
33 |
-
&& cd .. \
|
34 |
-
&& rm -rf portaudio pa_stable_v190700_20210406.tgz \
|
35 |
-
&& ldconfig
|
36 |
-
|
37 |
# Copy requirements and install Python dependencies
|
38 |
COPY requirements.txt .
|
39 |
RUN pip install --no-cache-dir pip -U && \
|
|
|
10 |
cmake \
|
11 |
rsync \
|
12 |
libgl1-mesa-glx \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
&& rm -rf /var/lib/apt/lists/* \
|
14 |
&& git lfs install
|
15 |
|
16 |
# Set working directory
|
17 |
WORKDIR /app
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
# Copy requirements and install Python dependencies
|
20 |
COPY requirements.txt .
|
21 |
RUN pip install --no-cache-dir pip -U && \
|