2018-11-30 18:52:59 +00:00
|
|
|
FROM opendronemap/odm:latest
|
2017-04-08 04:09:05 +00:00
|
|
|
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
|
|
|
|
|
|
|
|
EXPOSE 3000
|
|
|
|
|
|
|
|
USER root
|
2020-09-17 16:42:47 +00:00
|
|
|
RUN apt-get update && apt-get install -y curl gpg-agent
|
2021-09-07 15:01:21 +00:00
|
|
|
RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash -
|
2020-09-10 18:07:11 +00:00
|
|
|
RUN apt-get install -y nodejs unzip p7zip-full && npm install -g nodemon && \
|
2020-12-10 01:48:25 +00:00
|
|
|
ln -s /code/SuperBuild/install/bin/untwine /usr/bin/untwine && \
|
2020-12-10 19:19:05 +00:00
|
|
|
ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \
|
2019-10-23 15:19:14 +00:00
|
|
|
ln -s /code/SuperBuild/install/bin/pdal /usr/bin/pdal
|
2017-04-08 04:09:05 +00:00
|
|
|
|
2020-07-29 21:00:48 +00:00
|
|
|
|
2017-04-08 04:09:05 +00:00
|
|
|
RUN mkdir /var/www
|
|
|
|
|
|
|
|
WORKDIR "/var/www"
|
|
|
|
COPY . /var/www
|
|
|
|
|
2021-09-07 15:01:21 +00:00
|
|
|
RUN npm install --production && mkdir -p tmp
|
2017-04-08 04:09:05 +00:00
|
|
|
|
2020-11-06 19:51:15 +00:00
|
|
|
ENTRYPOINT ["/usr/bin/node", "/var/www/index.js"]
|