Spaces:
Runtime error
Runtime error
Commit
·
e6192a7
1
Parent(s):
eaf257e
correct directory
Browse files- Dockerfile +26 -26
Dockerfile
CHANGED
|
@@ -9,32 +9,32 @@ COPY ./requirements.txt /code/requirements.txt
|
|
| 9 |
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
RUN apt-get update && \
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
|
| 39 |
|
| 40 |
|
|
|
|
| 9 |
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 11 |
|
| 12 |
+
RUN wget -O - https://www.openssl.org/source/openssl-1.1.1u.tar.gz | tar zxf - \
|
| 13 |
+
&& cd openssl-1.1.1u \
|
| 14 |
+
&& ./config --prefix=/usr/local \
|
| 15 |
+
&& make -j $(nproc) \
|
| 16 |
+
make install_sw install_ssldirs \
|
| 17 |
+
ldconfig -v
|
| 18 |
+
ENV SSL_CERT_DIR=/usr/lib/ssl/certs
|
| 19 |
+
ENV LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
| 20 |
+
|
| 21 |
+
RUN apt-get update
|
| 22 |
+
RUN apt-get install build-essential libssl-dev ca-certificates libasound2 wget
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
# RUN apt-get update && \
|
| 26 |
+
# apt-get install -y build-essential libssl-dev ca-certificates libasound2 wget && \
|
| 27 |
+
# wget -O - https://www.openssl.org/source/openssl-1.1.1u.tar.gz | tar zxf - && \
|
| 28 |
+
# cd openssl-1.1.1u && \
|
| 29 |
+
# ./config --prefix=/usr/local && \
|
| 30 |
+
# make -j $(nproc) && \
|
| 31 |
+
# make install_sw install_ssldirs && \
|
| 32 |
+
# ldconfig -v && \
|
| 33 |
+
# export SSL_CERT_DIR=/etc/ssl/certs && \
|
| 34 |
+
# cd ../ && \
|
| 35 |
+
# rm -rf openssl-1.1.1u && \
|
| 36 |
+
# pip install --no-cache-dir azure-cognitiveservices-speech==1.30.0 \
|
| 37 |
+
# export SSL_CERT_DIR=/usr/lib/ssl/certs
|
| 38 |
|
| 39 |
|
| 40 |
|