From f8fb81f8109840f71e471d8793c3a6cb4628afab Mon Sep 17 00:00:00 2001 From: ymarcon Date: Thu, 22 Aug 2024 13:45:48 +0200 Subject: [PATCH 1/2] fix: updated osgeo image --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f63ec27..85694ff 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 From c384b5fe83f128daf215b519d418a2b35aedc16d Mon Sep 17 00:00:00 2001 From: ymarcon Date: Thu, 22 Aug 2024 14:02:15 +0200 Subject: [PATCH 2/2] fix: fix for docker's JSONArgsRecommended warning --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 85694ff..a14fab3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,7 +14,7 @@ RUN mkdir /code ADD . /code/ WORKDIR /code -CMD python3 server.py +CMD ["python3", "server.py"] EXPOSE 8080