#40 fix pip dependency issue with fiona and utils-flask-sqla-geo using python3.8

This commit is contained in:
nobohan
2023-07-17 12:32:48 +02:00
parent 277fd3fe82
commit d81aeb1f7f
3 changed files with 2 additions and 58 deletions

View File

@@ -1,5 +1,4 @@
FROM debian:buster-slim
# todo utiliser image python3 ?
FROM python:3.8-slim-buster
## install dependencies
RUN apt-get update && \
@@ -21,8 +20,6 @@ RUN echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
COPY vendor/GeoNature-citizen/ /home/appuser/citizen/
# patches
#NB: use custom requirements.txt for avoiding fiona installation (GDAL issue)
COPY patches/back/requirements.txt /home/appuser/citizen/backend/requirements.txt
COPY patches/back/default_config.toml /home/appuser/citizen/config/config.toml
COPY patches/settings.ini /home/appuser/citizen/config/settings.ini
COPY patches/back/wsgi.py /home/appuser/citizen/backend/wsgi.py