view service/speechMusic/Dockerfile @ 455:7e09c0d0a86e

speechmusic can now fetch from http Ignore-this: 111d84089591287c786f9119bbe546a
author drewp@bigasterisk.com
date Fri, 19 Apr 2019 14:24:09 -0700
parents ccde9f432e4e
children
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

RUN apt-get update
RUN apt-get install --yes libopenal1 libogg0 pulseaudio-utils python-pygame festival sox
COPY requirements.txt ./
RUN pip install -r requirements.txt

ENV SDL_AUDIODRIVER pulse
ENV PULSE_SERVER /tmp/pulseaudio
COPY pulse-client.conf /etc/pulse/client.conf
COPY *.py req* *.jade ./

EXPOSE 9049

CMD [ "python", "./speechMusic.py" ]