diff --git a/docker/Dockerfile b/docker/Dockerfile index f63ec27..a14fab3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,11 +1,11 @@ -FROM osgeo/gdal:ubuntu-small-latest-amd64 +FROM ghcr.io/osgeo/gdal:ubuntu-small-3.7.3 ENV TZ=Europe/Madrid ENV CPLUS_INCLUDE_PATH=/usr/include/gdal ENV CINCLUDE_PATH=/usr/include/gdal RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update -RUN apt-get install -y libspatialindex-dev unar bc python3-pip wget libgdal-dev gdal-bin +RUN apt-get install -y libspatialindex-dev unar bc python3-pip wget ADD ./requirements.txt . RUN pip install -r requirements.txt @@ -14,7 +14,7 @@ RUN mkdir /code ADD . /code/ WORKDIR /code -CMD python3 server.py +CMD ["python3", "server.py"] EXPOSE 8080