Skip to content

Commit

Permalink
Use Node v18 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
junderw committed Jul 27, 2023
1 parent 8671d1d commit fcb1f0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ RUN apt update && \
libxtst6 \
xvfb && \
# Install node v14
curl -fsSL https://deb.nodesource.com/setup_14.x | bash - && \
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt install nodejs -y && \
# Install npm v8 so preserve package-lock.json format
npm i -g npm@8 && \
# Clear apt cache
rm -rf /var/lib/{apt,dpkg,cache,log}/

Expand Down

0 comments on commit fcb1f0f

Please sign in to comment.