diff --git a/Dockerfile b/Dockerfile index 272bae85..2e764cd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ FROM ghcr.io/osgeo/gdal:alpine-normal-3.7.1 -RUN apk add nodejs yarn git python3 python3-dev py3-pip \ +RUN apk add --no-cache nodejs yarn git python3 python3-dev py3-pip \ make bash sqlite-dev zlib-dev geos geos-dev \ postgresql-libs gcc g++ musl-dev postgresql-dev cairo \ - py3-cairo file + py3-cairo file ca-certificates \ + && update-ca-certificates # Download and install Tippecanoe RUN git clone -b 2.31.0 https://github.com/felt/tippecanoe.git /tmp/tippecanoe && \ @@ -15,6 +16,6 @@ RUN git clone -b 2.31.0 https://github.com/felt/tippecanoe.git /tmp/tippecanoe & WORKDIR /usr/local/src/batch-machine ADD . /usr/local/src/batch-machine -RUN pip3 install . +RUN pip3 install . && pip3 install --upgrade certifi CMD python3 test.py