Skip to content

Instantly share code, notes, and snippets.

@kanjieater
Created May 5, 2021 15:07
Show Gist options
  • Save kanjieater/79d86540215facb1cc383bbc73e34c08 to your computer and use it in GitHub Desktop.
Save kanjieater/79d86540215facb1cc383bbc73e34c08 to your computer and use it in GitHub Desktop.
aeneas
FROM python:3.7.0
RUN set -x \
&& apt-get update \
&& apt-get install -y espeak espeak-ng ffmpeg libsndfile1 libsndfile1-dev python python-dev python-pip python-numpy python-lxml python-beautifulsoup \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN git clone https://github.com/readbeyond/aeneas.git
WORKDIR /usr/src/app/aeneas
RUN pip install -r requirements.txt
RUN AENEAS_WITH_CEW=False python setup.py build_ext --inplace
CMD [ "/bin/bash" ]
# enter cli with: docker run -it --rm -v $(pwd):/usr/src/app/aeneas/local -v $(pwd)/output:/usr/src/app/aeneas/output aeneas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment