OpenDroneMap-NodeODM/Dockerfile

20 wiersze
517 B
Docker
Czysty Zwykły widok Historia

FROM opendronemap/opendronemap:latest
2016-07-05 18:06:22 +00:00
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
2016-07-05 18:06:22 +00:00
EXPOSE 3000
USER root
RUN curl --silent --location https://deb.nodesource.com/setup_6.x | sudo bash -
2016-11-08 18:01:42 +00:00
RUN apt-get install -y nodejs python-gdal
RUN npm install -g nodemon
2016-07-05 18:06:22 +00:00
RUN mkdir /var/www
2016-07-05 18:06:22 +00:00
WORKDIR "/var/www"
2016-07-05 18:06:22 +00:00
RUN git clone https://github.com/pierotofy/node-OpenDroneMap .
RUN npm install
# Fix old version of gdal2tiles.py
RUN (cd / && patch -p0) <patches/gdal2tiles.patch
2016-07-05 18:06:22 +00:00
ENTRYPOINT ["/usr/bin/nodejs", "/var/www/index.js"]