Explorar el Código

dockerfile fallback debian11,fix azure cognitiveservices speech error

Python 3.10-slim based Debian 12, using Azure TextToVoice may result in an error. the Speech SDK does not currently support OpenSSL 3.0, which is the default version in Ubuntu 22.04 and Debian 12
zouyq hace 2 años
padre
commit
1b48cea50a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      docker/Dockerfile.latest

+ 2 - 2
docker/Dockerfile.latest

@@ -1,4 +1,4 @@
-FROM python:3.10-slim
+FROM python:3.10-slim-bullseye
 
 LABEL maintainer="foo@bar.com"
 ARG TZ='Asia/Shanghai'
@@ -32,4 +32,4 @@ RUN chmod +x /entrypoint.sh \
 
 USER noroot
 
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["/entrypoint.sh"]