Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -6
Dockerfile
CHANGED
@@ -5,9 +5,13 @@ WORKDIR /app
|
|
5 |
|
6 |
ENV DEBIAN_FRONTEND=noninteractive
|
7 |
|
|
|
|
|
|
|
|
|
8 |
|
9 |
RUN apt-get update && \
|
10 |
-
apt-get install -yq build-essential espeak-ng
|
11 |
update-ca-certificates && \
|
12 |
apt-get clean && \
|
13 |
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && \
|
@@ -24,11 +28,6 @@ RUN wget https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5
|
|
24 |
rm -rf jemalloc-5.3.0* && \
|
25 |
ldconfig
|
26 |
|
27 |
-
RUN apt remove --purge cmake && \
|
28 |
-
wget https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-linux-x86_64.sh && \
|
29 |
-
chmod +x cmake-3.27.9-linux-x86_64.sh && \
|
30 |
-
./cmake-3.27.9-linux-x86_64.sh --skip-license --prefix=/usr/local
|
31 |
-
|
32 |
ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so
|
33 |
|
34 |
COPY requirements.txt /app/
|
|
|
5 |
|
6 |
ENV DEBIAN_FRONTEND=noninteractive
|
7 |
|
8 |
+
RUN apt remove --purge cmake && \
|
9 |
+
wget https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-linux-x86_64.sh && \
|
10 |
+
chmod +x cmake-3.27.9-linux-x86_64.sh && \
|
11 |
+
./cmake-3.27.9-linux-x86_64.sh --skip-license --prefix=/usr/local
|
12 |
|
13 |
RUN apt-get update && \
|
14 |
+
apt-get install -yq build-essential espeak-ng wget ca-certificates build-essential tzdata&& \
|
15 |
update-ca-certificates && \
|
16 |
apt-get clean && \
|
17 |
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && \
|
|
|
28 |
rm -rf jemalloc-5.3.0* && \
|
29 |
ldconfig
|
30 |
|
|
|
|
|
|
|
|
|
|
|
31 |
ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so
|
32 |
|
33 |
COPY requirements.txt /app/
|