浏览代码

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 2 年之前
父节点
当前提交
1b48cea50a
共有 1 个文件被更改,包括 2 次插入2 次删除
  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"]