Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hello @Temitope Oni
I see you are using Azure App Service Linux. The error ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /tmp/8d9d6a263ebd569/antenv/lib/python3.7/site-packages/azure/cognitiveservices/speech/_speech_py_impl.so means that library libstdc++.so.6 on the system is too old.
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-configure-rhel-centos-7
Use ubuntu:18.04 base image in DockerFile, install python, system packages and the other requirements and it should work fine.
Dockerfile example:
FROM ubuntu:18.04
RUN mkdir /code
WORKDIR /code
RUN apt-get update && apt-get install -y \
build-essential \
libssl1.0.0 \
libasound2 \
python3.7
RUN apt-get install -y python3-pip
ADD requirements.txt /code/
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
ADD . /code/
# ssh
ENV SSH_PASSWD "root:Docker!"
RUN apt-get update \
&& apt-get install -y --no-install-recommends dialog \
&& apt-get update \
&& apt-get install -y --no-install-recommends openssh-server \
&& echo "$SSH_PASSWD" | chpasswd
COPY sshd_config /etc/ssh/
COPY init.sh /usr/local/bin/
RUN chmod u+x /usr/local/bin/init.sh
EXPOSE 5000 2222
ENTRYPOINT ["init.sh"]
https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/747