Add libgeos (shapely dependency) to Dockerfile

This commit is contained in:
Laurent Bossavit 2016-08-30 11:48:15 +02:00
parent 56be749f7d
commit 03a6e3278c

View file

@ -1,8 +1,9 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
RUN apt-get update RUN apt-get update && \
RUN apt-get install -y postgresql-server-dev-all apt-get install -y postgresql-server-dev-all && \
RUN apt-get install -y python3-dev apt-get install -y python3-dev && \
RUN apt-get install -y python3-pip apt-get install -y python3-pip && \
apt-get install -y libgeos-dev
RUN pip3 install uwsgi RUN pip3 install uwsgi
ADD /requirements.txt /app/ ADD /requirements.txt /app/
WORKDIR /app WORKDIR /app