OpenDroneMap-NodeODM/Dockerfile

23 wiersze
684 B
Docker

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 && \
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 && \
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"]