Skip to content

Commit

Permalink
chore(deps): update container image node to 22-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 31, 2024
1 parent 5f63aa9 commit 62bf9bb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:21-alpine AS deps
FROM node:22-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
Expand All @@ -16,7 +16,7 @@ RUN \


# Rebuild the source code only when needed
FROM node:21-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
Expand Down Expand Up @@ -91,7 +91,7 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
# RUN npm run build

# Production image, copy all the files and run next
FROM node:21-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app

ENV NODE_ENV production
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@swc/plugin-transform-imports": "3.0.4",
"@testing-library/cypress": "10.0.2",
"@testing-library/react": "16.0.1",
"@types/node": "20.17.4",
"@types/node": "22.8.5",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/unidecode": "0.1.3",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 62bf9bb

Please sign in to comment.