add env lang lc_all to utf-8
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -1,8 +1,12 @@
|
|||||||
FROM python:3.6
|
FROM python:3.7
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
MAINTAINER fnndsc "vijay.yadav@aicure.com"
|
MAINTAINER fnndsc "vijay.yadav@aicure.com"
|
||||||
|
|
||||||
|
|
||||||
|
ENV LANG C.UTF-8
|
||||||
|
ENV LC_ALL C.UTF-8
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y python3-pip \
|
RUN apt-get update && apt-get install -y python3-pip \
|
||||||
&& apt-get install -y wget \
|
&& apt-get install -y wget \
|
||||||
&& apt-get install -y automake --upgrade \
|
&& apt-get install -y automake --upgrade \
|
||||||
@@ -20,21 +24,21 @@ RUN ln -sfn /usr/bin/pip3 /usr/bin/pip
|
|||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
#cloning openface
|
#cloning openface
|
||||||
WORKDIR /app/pkg
|
WORKDIR /app/opendbm/pkg
|
||||||
RUN git clone https://github.com/AiCure/open_dbm.git -b openface
|
RUN git clone https://github.com/AiCure/open_dbm.git -b openface
|
||||||
|
|
||||||
RUN echo "Installing OpenFace..."
|
RUN echo "Installing OpenFace..."
|
||||||
WORKDIR /app/pkg/open_dbm/OpenFace
|
WORKDIR /app/opendbm/pkg/open_dbm/OpenFace
|
||||||
RUN bash ./download_models.sh
|
RUN bash ./download_models.sh
|
||||||
RUN dpkg --configure -a
|
RUN dpkg --configure -a
|
||||||
RUN su -c ./install.sh
|
RUN su -c ./install.sh
|
||||||
RUN echo "Done OpenFace!"
|
RUN echo "Done OpenFace!"
|
||||||
|
|
||||||
RUN echo "Cloning DeepSpeech..."
|
RUN echo "Cloning DeepSpeech..."
|
||||||
WORKDIR /app/pkg
|
WORKDIR /app/opendbm/pkg
|
||||||
RUN git clone https://github.com/mozilla/DeepSpeech.git
|
RUN git clone https://github.com/mozilla/DeepSpeech.git
|
||||||
|
|
||||||
WORKDIR /app/pkg/DeepSpeech
|
WORKDIR /app/opendbm/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.pbmm
|
||||||
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.scorer
|
RUN wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.1/deepspeech-0.9.1-models.scorer
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user