nlp_transcribe
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -12,7 +12,9 @@ RUN apt-get update && apt-get install -y python3-pip \
|
||||
&& apt-get install -y libavcodec-dev \
|
||||
&& apt-get install -y libavformat-dev \
|
||||
&& apt-get install -y libavdevice-dev \
|
||||
&& apt-get install -y libboost-all-dev
|
||||
&& apt-get install -y libboost-all-dev \
|
||||
&& apt-get install -y git \
|
||||
&& apt-get install -y sox
|
||||
RUN ln -sfn /usr/bin/pip3 /usr/bin/pip
|
||||
|
||||
COPY . /app
|
||||
@@ -24,8 +26,15 @@ RUN dpkg --configure -a
|
||||
RUN su -c ./install.sh
|
||||
RUN echo "Done OpenFace!"
|
||||
|
||||
WORKDIR /app
|
||||
RUN echo "Cloning DeepSpeech..."
|
||||
WORKDIR /app/pkg
|
||||
RUN git clone https://github.com/mozilla/DeepSpeech.git
|
||||
|
||||
WORKDIR /app/pkg/DeepSpeech
|
||||
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.pbmm
|
||||
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.scorer
|
||||
|
||||
WORKDIR /app
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -r requirements.txt
|
||||
RUN echo "Requirement txt done!"
|
||||
|
||||
Reference in New Issue
Block a user