OpenDroneMap-WebODM/Dockerfile

36 wiersze
905 B
Docker
Czysty Zwykły widok Historia

2016-09-11 23:52:31 +00:00
FROM python:2.7
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 --upgrade git+https://github.com/pierotofy/django-knockout
2016-09-11 23:52:31 +00:00
RUN pip install -r requirements.txt
2016-09-21 20:04:47 +00:00
# swagger_spec_validator is not up to date, fetch directly from github
# also install django-knockout
RUN pip install --upgrade git+https://github.com/Yelp/swagger_spec_validator
2016-09-21 20:04:47 +00:00
2016-09-11 23:52:31 +00:00
ADD . /webodm/
RUN git submodule init
RUN git submodule update
# Install Node.js + npm requirements for testing node-OpenDroneMap
2016-09-27 16:19:32 +00:00
RUN curl --silent --location https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y nodejs
WORKDIR /webodm/nodeodm/external/node-OpenDroneMap
RUN npm install -g
WORKDIR /webodm
2016-09-27 17:25:47 +00:00
# Make sure all scripts are executable
RUN chmod +x *.sh