yuanhung yeh
2020-10-27 5b98e9857d5081c30fcef0206c38f384dc542514
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.8.5-buster
 
RUN apt update && apt-get install -y python3-setuptools
 
RUN apt install -y gdal-bin python3-gdal libgdal-dev
 
RUN python3 -m pip install Flask==1.1.1 --user &&  python3 -m pip install autoenv==1.0.0
RUN pip3 install --upgrade pip setuptools==45.2.0
 
RUN pip3 install numpy pyproj MarkupSafe python-dotenv psycopg2-binary
RUN pip3 install gdal==2.4.0 
ADD requirements.txt .
RUN pip3 install -r requirements.txt
 
RUN pip3 install gunicorn