Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions docker/ubuntu18-cpu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
FROM registry.baidubce.com/paddlepaddle/paddle:2.2.2
LABEL maintainer="[email protected]"

RUN apt-get update \
&& apt-get install libsndfile-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN git clone --depth 1 https://github.com/PaddlePaddle/PaddleSpeech.git /home/PaddleSpeech
RUN pip3 uninstall mccabe -y ; exit 0;
RUN pip3 install multiprocess==0.70.12 importlib-metadata==4.2.0 dill==0.3.4

RUN cd /home/PaddleSpeech/audio
RUN python setup.py bdist_wheel

RUN cd /home/PaddleSpeech
WORKDIR /home/PaddleSpeech/
RUN python setup.py bdist_wheel
RUN pip install audio/dist/*.whl dist/*.whl
RUN pip install dist/*.whl -i https://pypi.tuna.tsinghua.edu.cn/simple

WORKDIR /home/PaddleSpeech/
CMD ['bash']