Skip to content

Commit

Permalink
Upgrade Node.js to v18
Browse files Browse the repository at this point in the history
Node.js v16 will reach end-of-life status on 2023-09-11.

Node.js v18 should also come with performance improvements during run
time.
  • Loading branch information
victorlin committed Jun 23, 2023
1 parent ce72f41 commit ffb7b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

# Install a specific Node.js version
# https://github.com/nodesource/distributions/blob/0d81da75/README.md#installation-instructions
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get update && apt-get install -y nodejs

# Used for platform-specific instructions
Expand Down Expand Up @@ -395,7 +395,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

# Install a specific Node.js version
# https://github.com/nodesource/distributions/blob/0d81da75/README.md#installation-instructions
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get update && apt-get install -y nodejs

# Used for platform-specific instructions
Expand Down

0 comments on commit ffb7b94

Please sign in to comment.