Dockerize

This commit is contained in:
Laurent Bossavit 2016-04-14 17:52:34 +02:00
parent 183664f1fb
commit fddb41f51d
2 changed files with 10 additions and 0 deletions

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM ubuntu:15.10
WORKDIR /app
RUN apt-get update
RUN apt-get install -y postgresql-9.4
RUN apt-get install -y postgresql-server-dev-9.4
RUN apt-get install -y postgis
RUN apt-get install -y python3-dev
RUN apt-get install -y python3-pip

2
setup.sh Normal file
View file

@ -0,0 +1,2 @@
pip install -r requirements.sh
psql < setup.sql