Created
February 19, 2014 01:58
-
-
Save nickpegg/9084697 to your computer and use it in GitHub Desktop.
lg/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:12.04 | |
RUN apt-get update | |
RUN apt-get install -y mtr-tiny iputils-ping python python-dev python-pip git build-essential | |
RUN pip install -r https://raw.github.com/nickpegg/lg/master/requirements.txt | |
RUN pip install uwsgi | |
ADD adduser.sh / | |
RUN /adduser.sh | |
VOLUME /srv/lg | |
WORKDIR /srv/lg | |
CMD uwsgi -p 16 -s 0.0.0.0:5000 --uid lg -w glass:app | |
EXPOSE 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment