Dockerfile 535 Bytes
Newer Older
Renfred Harper's avatar
Renfred Harper committed
1
############################################################
David Haynes's avatar
David Haynes committed
2
# What's Open API v2
Renfred Harper's avatar
Renfred Harper committed
3
4
5
############################################################

# Set the base image to Ubuntu
6
FROM python:3.6
7
ENV PYTHONUNBUFFERED 1
Renfred Harper's avatar
Renfred Harper committed
8
9
10

# Update the sources list
RUN apt-get update
David Haynes's avatar
David Haynes committed
11
RUN apt-get install netcat libgdal1h libproj-dev proj-data proj-bin -y
12

David Haynes's avatar
David Haynes committed
13
14
15
16
17
18
19
# Copy over all project files into /whats_open
RUN mkdir /whats-open/
WORKDIR /whats-open/
ADD . /whats-open/

# Pip install all required dependecies
RUN pip install -r /whats-open/requirements/base.txt