diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..e0b2846e2a5477ee9d6ae9ae3131985151fbcf43 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,35 @@ +# Copyright (C) 2021: +# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +# General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see http://www.gnu.org/licenses/. + + +FROM debian:bullseye-slim + +WORKDIR /app + +RUN apt-get update -y && apt-get install -y \ + python3-pip \ + proj-bin \ + libgeos-dev \ + gdal-bin \ + libgdal-dev + +RUN pip3 install --upgrade wheel +RUN pip3 install --upgrade setuptools +RUN pip3 install --upgrade pip + +RUN pip3 install https://git.gfz-potsdam.de/dynamicexposure/openbuildingmap/obmgapanalysis/-/archive/master/obmgapanalysis-master.zip + +CMD ["obmgapanalysis"]