Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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