Skip to content

Commit

Permalink
Update Node.js to v20
Browse files Browse the repository at this point in the history
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 17, 2024
1 parent 91016b1 commit 74a316d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 304 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ARG ENVIRONMENT_CONFIG=heroku

# Stage 1 - Create yarn install skeleton layer
FROM node:18-bookworm-slim AS packages
FROM node:20-bookworm-slim AS packages
ARG ENVIRONMENT_CONFIG

WORKDIR /app
Expand All @@ -16,7 +16,7 @@ COPY packages packages
RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf

# Stage 2 - Install dependencies and build packages
FROM node:18-bookworm-slim AS build
FROM node:20-bookworm-slim AS build
ARG ENVIRONMENT_CONFIG

# Set Python interpreter for `node-gyp` to use
Expand Down Expand Up @@ -50,7 +50,7 @@ RUN mkdir packages/backend/dist/skeleton packages/backend/dist/bundle \
&& tar xzf packages/backend/dist/bundle.tar.gz -C packages/backend/dist/bundle

# Stage 3 - Build the actual backend image and install production dependencies
FROM node:18-bookworm-slim
FROM node:20-bookworm-slim
ARG ENVIRONMENT_CONFIG

# Set Python interpreter for `node-gyp` to use
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@playwright/test": "^1.32.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/node": "^12.0.0",
"@types/node": "^20.0.0",
"@types/react-dom": "*",
"@types/uuid": "^9.0.0",
"uuid": "^9.0.1"
Expand Down
Loading

0 comments on commit 74a316d

Please sign in to comment.