Files
dss.radio/Dockerfile
Fergal Moran 9092c04766 Initial deploy
2015-10-05 20:14:33 +01:00

24 lines
493 B
Docker

FROM ubuntu:latest
MAINTAINER Fergal Moran <Ferg@lMoran.me>
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y python-setuptools python-pip git pkg-config libshout3 libshout3-dev python-dev
RUN mkdir /code/
WORKDIR /code
ADD requirements.txt /code/
ADD server.py /code/
ADD ice_relay.py /code/
ADD static /code/static/
ADD templates /code/templates/
ADD dss.radio.conf /code/
# Install tornado
RUN pip install -r requirements.txt
EXPOSE 8888
CMD ["python", "server.py"]