Dockerfile.alpine 391B

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