#40 fix pip dependency issue with fiona and utils-flask-sqla-geo using python3.8
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user