From 9528b919c27a104665b93a73b80831d8f1c6afdf Mon Sep 17 00:00:00 2001 From: Joost van Ulden Date: Fri, 31 Jul 2020 09:36:20 -0700 Subject: [PATCH] Create Dockerfile --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c7207d6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM debian:sid-slim + +LABEL maintainer="Joost van Ulden " + +# copy required files +COPY . . + +RUN apt-get update && apt-get install -y libpq-dev gcc curl git-lfs gdal-bin python3-pip && \ + pip3 install psycopg2~=2.6 && \ + apt-get autoremove -y gcc && \ + apt-get install -y postgresql-client && \ + pip3 install --upgrade pip && pip install -r requirements.txt + +ENV PYTHONUNBUFFERED 1