Skip to content

Commit

Permalink
node: use older version of npm to match older version of node
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Nov 30, 2023
1 parent bc00f08 commit 0702438
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ RUN git clone 'https://github.com/isaacs/nave.git' /code/nave && /code/nave/nave
# add global install dir to $NODE_PATH
ENV NODE_PATH="/usr/local/lib/node_modules:$NODE_PATH"

# node version is so old it requires an older version of npm
# https://stackoverflow.com/a/77024158
# ensure NPM is up to date
RUN npm install -g npm
# RUN npm install -g npm

# get ready for pelias config with an empty file
ENV PELIAS_CONFIG '/code/pelias.json'
Expand Down

0 comments on commit 0702438

Please sign in to comment.