Dockerfile.debian 442B

123456789101112131415161718192021222324
  1. FROM zhayujie/chatgpt-on-wechat:debian
  2. LABEL maintainer="foo@bar.com"
  3. ARG TZ='Asia/Shanghai'
  4. USER root
  5. RUN apt-get update \
  6. && apt-get install -y --no-install-recommends \
  7. ffmpeg \
  8. espeak \
  9. && pip install --no-cache \
  10. baidu-aip \
  11. chardet \
  12. SpeechRecognition
  13. # replace entrypoint
  14. ADD ./entrypoint.sh /entrypoint.sh
  15. RUN chmod +x /entrypoint.sh
  16. USER noroot
  17. ENTRYPOINT ["/entrypoint.sh"]