Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (12 sloc) 430 Bytes
FROM klokantech/gdal:1.11
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update \
&& apt-get -qq -y --no-install-recommends install curl \
&& curl https://bootstrap.pypa.io/get-pip.py | python \
&& mkdir -p /var/www
COPY . /var/www/epsg.io
WORKDIR /var/www/epsg.io
VOLUME /var/www/epsg.io
RUN pip install -q -r requirements.txt
EXPOSE 8080
CMD gunicorn --workers 4 --bind 0.0.0.0:8080 --log-level info --reload app:app