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 Dec 11, 2024
1 parent 38cd2bb commit 6508f84
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 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 @@ -54,7 +54,7 @@
"@swc/plugin-transform-imports": "6.0.2",
"@testing-library/cypress": "10.0.2",
"@testing-library/react": "16.1.0",
"@types/node": "20.17.9",
"@types/node": "22.10.1",
"@types/react": "18.3.15",
"@types/react-dom": "18.3.4",
"@types/unidecode": "0.1.3",
Expand Down
36 changes: 18 additions & 18 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 6508f84

Please sign in to comment.