initial commit
This commit is contained in:
17
Dockerfile.funasr-bi100
Normal file
17
Dockerfile.funasr-bi100
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM corex:3.2.1
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
COPY requirements.txt /root
|
||||
RUN pip install -r requirements.txt
|
||||
RUN apt update && apt install -y vim net-tools libasound2-dev
|
||||
|
||||
RUN pip install funasr==1.2.6 openai-whisper
|
||||
|
||||
ADD . /root/
|
||||
ADD nltk_data.tar.gz /root/
|
||||
RUN cp ./replaced_files/bi_v100/model.py /usr/local/lib/python3.10/site-packages/funasr/models/uniasr/
|
||||
RUN cp ./replaced_files/bi_v100/cif_predictor.py /usr/local/lib/python3.10/site-packages/funasr/models/paraformer/
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["bash"]
|
||||
CMD ["./start_funasr.sh"]
|
||||
Reference in New Issue
Block a user