Add the docker files and the pip requiremnets.txt to allow install usign pip

This commit is contained in:
Sam Wenham
2018-04-11 22:03:48 +01:00
parent 789c33fcb6
commit c638e1c392
4 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
FROM python:2.7-wheezy
RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf survex locales
# Set the locale
RUN locale-gen en_GB.UTF-8
ENV LANG en_GB.UTF-8
ENV LANGUAGE en_GB:en
ENV LC_ALL en_GB.UTF-8
WORKDIR /opt/expo/troggle
COPY requirements.txt .
RUN pip install -r requirements.txt