1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

chore(dev): migration to Yarn berry

This commit is contained in:
2025-07-23 08:36:32 +00:00
parent 536c4559cb
commit bcb22a7740
5 changed files with 5502 additions and 3593 deletions
+5 -2
View File
@@ -7,8 +7,9 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
# Install dependencies
COPY package.json yarn.lock ./
RUN yarn --frozen-lockfile
COPY package.json yarn.lock .yarnrc.yml ./
RUN corepack enable
RUN yarn install
# Rebuild the source code only when needed
FROM base AS builder
@@ -16,6 +17,8 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN corepack enable
# Next.js collects completely anonymous telemetry data about general usage.
# Learn more here: https://nextjs.org/telemetry
# Uncomment the following line in case you want to disable telemetry during the build.