Skip to content

Commit

Permalink
Making sure we get correct Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
supercodepoet committed Dec 6, 2022
1 parent a717d59 commit 2999ad6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ ENV NPM_CONFIG_LOGLEVEL info
ENV NODE_VERSION 18.12.1

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

RUN apt-get install -y nodejs

# install NPM version
ENV NPM_VERSION 9.1.3

RUN npm install -g npm@$NPM_VERSION

# install Hex
RUN mix local.hex --force

Expand Down

0 comments on commit 2999ad6

Please sign in to comment.