Skip to content

Commit

Permalink
Upgrade to Node v22 (#495)
Browse files Browse the repository at this point in the history
* Upgrade Node to v22
  • Loading branch information
KrisJordan authored Jun 4, 2024
1 parent 0a46adb commit b651011
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --de
&& apt update \
&& apt install caddy

# Install Node.js 18 from https://github.com/nodesource
ENV NODE_MAJOR 18
# Install Node.js 22 from https://github.com/nodesource
ENV NODE_MAJOR 22
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Front-end Build Steps
FROM node:18 as build
FROM node:22 as build
COPY ./frontend/package.json /workspace/frontend/package.json
COPY ./frontend/angular.json /workspace/frontend/angular.json
WORKDIR /workspace/frontend
Expand Down
2 changes: 2 additions & 0 deletions static/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
browser/
3rdpartylicenses.txt

0 comments on commit b651011

Please sign in to comment.