Interactive interface for browsing global, full-resolution satellite imagery
update dockerfile to use nvm
Benf300050f6bf9
diff --git a/Dockerfile b/Dockerfileindex 1e33d5d40..5b1b11701 100644--- a/Dockerfile+++ b/Dockerfile@@ -32,12 +32,17 @@ RUN cd /usr/src && \pip install --upgrade pip && \pip --versionRUN mkdir -p /usr/local/stow-RUN cd /usr/local/stow && \- curl -O https://nodejs.org/download/release/v16.14.2/node-v16.14.2-linux-x64.tar.xz && \- tar xf node-v16.14.2-linux-x64.tar.xz && \- rm -f /usr/local/stow/node/node-v16.14.2-linux-x64.tar.xz && \- rm -f /usr/local/stow/node-v16.14.2-linux-x64/{LICENSE,*.md} && \- stow -S node-v16.14.2-linux-x64+ENV NVM_DIR=/root/.nvm+ENV NODE_VERSION=16.14.2+RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash && \+ . "$NVM_DIR/nvm.sh" && \+ nvm install v${NODE_VERSION} && \+ nvm use v${NODE_VERSION} && \+ nvm alias default v${NODE_VERSION}+ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"++RUN node --version && \+ npm --versionWORKDIR /build# Only what is needed to run the development server and run the Selenium tests@@ -53,6 +58,6 @@ VOLUME /build/node_modulesVOLUME /build/.pythonEXPOSE 80-CMD tail -f /dev/null+CMD tail -f /dev/nulldiff --git a/package.json b/package.jsonindex 4d636ac90..98e7a6675 100644--- a/package.json+++ b/package.json@@ -41,7 +41,6 @@"build:prod": "cross-env NODE_ENV=production webpack","clean": "node ./tasks/clean.js","dist": "pipenv run run-s clean getcapabilities build:config build:prod && node ./tasks/dist.js",- "dist:bamboo": "run-s clean getcapabilities build:config build:prod && node ./tasks/dist.js","dist:dev": "pipenv run run-s clean getcapabilities build:config build:dev && node ./tasks/dist.js","distclean": "npm run clean && node ./tasks/distclean.js","docker:ci": "npm run docker:restart && docker exec -it worldview /bin/bash /build/e2e/docker-ci.sh ; npm run docker:stop",