File size: 442 Bytes
ba12b59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"]