Compare commits

..

1 Commits

Author SHA1 Message Date
0fa66279bc Update all dependencies
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build encountered an error
2025-01-01 05:06:17 +00:00
4 changed files with 11 additions and 11 deletions

View File

@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:20-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
RUN yarn global add pnpm
@ -11,7 +11,7 @@ RUN pnpm i
# Rebuild the source code only when needed
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
@ -27,7 +27,7 @@ RUN yarn build
# RUN npm run build
# Production image, copy all the files and run next
FROM node:20-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app
ENV NODE_ENV production

View File

@ -11,7 +11,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "22.10.4",
"@types/node": "22.10.3",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"autoprefixer": "10.4.20",

View File

@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:20-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
RUN yarn global add pnpm
@ -11,7 +11,7 @@ RUN pnpm i
# Rebuild the source code only when needed
FROM node:20-alpine AS builder
FROM node:22-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
@ -27,7 +27,7 @@ RUN yarn build
# RUN npm run build
# Production image, copy all the files and run next
FROM node:20-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app
ENV NODE_ENV production

View File

@ -159,10 +159,10 @@
dependencies:
tslib "^2.4.0"
"@types/node@22.10.4":
version "22.10.4"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.4.tgz#da36bebcc4b124f3d62bfde1cd1dafd7763949c1"
integrity sha512-99l6wv4HEzBQhvaU/UGoeBoCK61SCROQaCCGyQSgX2tEQ3rKkNZ2S7CEWnS/4s1LV+8ODdK21UeyR1fHP2mXug==
"@types/node@22.10.3":
version "22.10.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.3.tgz#cdc2a89bf6e5d5e593fad08e83f74d7348d5dd10"
integrity sha512-DifAyw4BkrufCILvD3ucnuN8eydUfc/C1GlyrnI+LK6543w5/L3VeVgf05o3B4fqSXP1dKYLOZsKfutpxPzZrw==
dependencies:
undici-types "~6.20.0"