RyaoChengfeng commited on
Commit
52fee8b
·
1 Parent(s): f2bd750
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -7,5 +7,9 @@ RUN apt update && apt install -y build-essential cmake
7
  RUN pip install --no-cache-dir -r requirements.txt
8
  COPY . /app
9
  EXPOSE 7860
 
 
 
 
10
  RUN chmod +x /app/entrypoint.sh
11
  ENTRYPOINT ["/app/entrypoint.sh"]
 
7
  RUN pip install --no-cache-dir -r requirements.txt
8
  COPY . /app
9
  EXPOSE 7860
10
+ RUN apt-get update && apt-get install -y wget \
11
+ && wget https://github.com/r9y9/open_jtalk/releases/download/v1.11.1/open_jtalk_dic_utf_8-1.11.tar.gz \
12
+ && tar -zxvf open_jtalk_dic_utf_8-1.11.tar.gz -C /usr/local/lib/python3.10/site-packages/pyopenjtalk \
13
+ && rm open_jtalk_dic_utf_8-1.11.tar.gz
14
  RUN chmod +x /app/entrypoint.sh
15
  ENTRYPOINT ["/app/entrypoint.sh"]