OpenDroneMap-WebODM/Dockerfile

31 wiersze
771 B
Docker
Czysty Zwykły widok Historia

FROM python:3.5
2016-09-11 23:52:31 +00:00
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
ENV PYTHONUNBUFFERED 1
ENV PYTHONPATH $PYTHONPATH:/webodm
# Prepare directory
RUN mkdir /webodm
WORKDIR /webodm
# Install pip reqs
ADD requirements.txt /webodm/
RUN pip install -r requirements.txt
ADD . /webodm/
RUN git submodule init
RUN git submodule update
# Install Node.js + other packages
2016-12-12 20:09:09 +00:00
RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:ubuntugis/ubuntugis-unstable && apt-get update
2016-11-08 14:40:59 +00:00
RUN curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y nodejs binutils libproj-dev gdal-bin
WORKDIR /webodm/nodeodm/external/node-OpenDroneMap
RUN npm install
WORKDIR /webodm
2016-10-08 16:35:22 +00:00
RUN npm install -g webpack
RUN npm install