Explorar o 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 %!s(int64=2) %!d(string=hai) anos
pai
achega
1b48cea50a
Modificáronse 1 ficheiros con 2 adicións e 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"]