kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Changed base image for gpu processing
rodzic
ea69b97f80
commit
a3491428cb
|
@ -0,0 +1,22 @@
|
|||
FROM opendronemap/odm:gpu
|
||||
MAINTAINER Piero Toffanin <pt@masseranolabs.com>
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
USER root
|
||||
RUN apt-get update && apt-get install -y curl gpg-agent
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_10.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 && mkdir tmp
|
||||
|
||||
ENTRYPOINT ["/usr/bin/node", "/var/www/index.js"]
|
Ładowanie…
Reference in New Issue