Skip to content

Commit 2999ad6

Browse files
committed
Making sure we get correct Node.js
1 parent a717d59 commit 2999ad6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ ENV NPM_CONFIG_LOGLEVEL info
2121
ENV NODE_VERSION 18.12.1
2222

2323
# install Node.js with package
24-
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
24+
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
2525

2626
RUN apt-get install -y nodejs
2727

28+
# install NPM version
29+
ENV NPM_VERSION 9.1.3
30+
31+
RUN npm install -g npm@$NPM_VERSION
32+
2833
# install Hex
2934
RUN mix local.hex --force
3035

0 commit comments

Comments
 (0)