TEXT   26
dockerfile
Guest on 26th May 2023 01:00:55 AM


  1. FROM python:3.7
  2. WORKDIR /usr/src/app
  3. ADD . /usr/src/app
  4. #RUN add-apt-repository ppa:ubuntugis/ppa
  5. RUN apt-get -yq update
  6. RUN apt-get -yq install make automake gcc g++ subversion python3-dev python-numpy gdal-bin libgdal-dev binutils libproj-dev --no-install-recommends && apt-get clean -y
  7. ENV CPLUS_INCLUDE_PATH=/usr/include/gdal
  8. ENV C_INCLUDE_PATH=/usr/include/gdal
  9. RUN pip install --upgrade pip
  10. RUN pip install rasterio
  11. RUN pip install pygdal==2.4.0.6
  12. RUN pip install -r requirements.txt
  13. EXPOSE 4040
  14. CMD ["python", "area.py"]

Raw Paste

Login or Register to edit or fork this paste. It's free.