mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-01-19 01:21:01 +08:00
23 lines
391 B
Docker
23 lines
391 B
Docker
FROM zhayujie/chatgpt-on-wechat:alpine
|
|
|
|
LABEL maintainer="foo@bar.com"
|
|
ARG TZ='Asia/Shanghai'
|
|
|
|
USER root
|
|
|
|
RUN apk add --no-cache \
|
|
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"] |