feat: container support voice reply

This commit is contained in:
limccn
2023-03-13 16:17:54 +08:00
parent 8fa4041fc2
commit 1bb5c6dc0d
6 changed files with 191 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
FROM zhayujie/chatgpt-on-wechat:debian
LABEL maintainer="foo@bar.com"
ARG TZ='Asia/Shanghai'
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ffmpeg \
espeak \
&& pip install --no-cache \
baidu-aip \
chardet \
SpeechRecognition
# replace entrypoint
ADD ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
USER noroot
ENTRYPOINT ["/entrypoint.sh"]