FROM opendronemap/odm:latest MAINTAINER Piero Toffanin EXPOSE 3000 USER root RUN apt-get update && apt-get install -y curl gpg-agent RUN curl --silent --location https://deb.nodesource.com/setup_14.x | bash - RUN apt-get install -y nodejs unzip p7zip-full && npm install -g nodemon && \ ln -s /code/SuperBuild/install/bin/untwine /usr/bin/untwine && \ ln -s /code/SuperBuild/install/bin/entwine /usr/bin/entwine && \ ln -s /code/SuperBuild/install/bin/pdal /usr/bin/pdal RUN mkdir /var/www WORKDIR "/var/www" COPY . /var/www RUN npm install --production && mkdir -p tmp ENTRYPOINT ["/usr/bin/node", "/var/www/index.js"]