add Dockerfile

This commit is contained in:
Christine Dodrill 2015-11-10 21:18:36 -08:00
parent 4822009cb9
commit c11e785549
3 changed files with 13 additions and 0 deletions

1
.dockerignore Symbolic link
View File

@ -0,0 +1 @@
.gitignore

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM python:2
ADD . /h
WORKDIR /h
RUN ./env.sh
ONBUILD ADD config /h/config
CMD ./run.sh

4
env.sh
View File

@ -1,3 +1,7 @@
#!/bin/bash
virtualenv env
. ./env/bin/activate
pip install git+https://github.com/billpmurphy/hask
pip install -r requirements.txt