kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Update nodejs, production npm deps
rodzic
9566ca72ec
commit
173ea2be68
|
@ -5,7 +5,7 @@ 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 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 && \
|
||||
|
@ -17,6 +17,6 @@ RUN mkdir /var/www
|
|||
WORKDIR "/var/www"
|
||||
COPY . /var/www
|
||||
|
||||
RUN npm install && mkdir -p tmp
|
||||
RUN npm install --production && mkdir -p tmp
|
||||
|
||||
ENTRYPOINT ["/usr/bin/node", "/var/www/index.js"]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "NodeODM",
|
||||
"version": "2.1.9",
|
||||
"version": "2.2.0",
|
||||
"description": "REST API to access ODM",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Ładowanie…
Reference in New Issue