view service/speechMusic/Dockerfile @ 1258:f0bbab217983

speechmusic can now fetch from http Ignore-this: 111d84089591287c786f9119bbe546a darcs-hash:29345c38a1f76d6aaf0f58a34d26c5344b234356
author drewp <drewp@bigasterisk.com>
date Fri, 19 Apr 2019 14:24:09 -0700
parents c0721332a9fe
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" ]