build(admin): npm ci instead of bun + arm64-capable lockfile for multi-arch
All checks were successful
Release: multi-arch Docker images / build-push (push) Successful in 26m49s
All checks were successful
Release: multi-arch Docker images / build-push (push) Successful in 26m49s
- Dockerfile: bun install -> npm ci (bun tar-extract unstable under qemu arm64) - pin @hookform/resolvers 5.2.2 (5.7.x forces ajv@8 -> broken npm lockfile) - package-lock.json regenerated with linux-arm64 native optionals (lightningcss, sharp, tailwindcss-oxide, parcel/watcher) - runtime CMD stays node server.js (bun not installed in runner image)
This commit is contained in:
@@ -3,12 +3,9 @@ FROM node:22-slim AS builder
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install bun for faster installs
|
# Install dependencies (npm ci — стабилен под qemu-эмуляцией arm64 в multi-arch сборке)
|
||||||
RUN npm install -g bun
|
COPY package.json package-lock.json ./
|
||||||
|
RUN npm ci
|
||||||
# Install dependencies
|
|
||||||
COPY package.json bun.lock ./
|
|
||||||
RUN bun install --frozen-lockfile
|
|
||||||
|
|
||||||
# Copy source
|
# Copy source
|
||||||
COPY prisma ./prisma/
|
COPY prisma ./prisma/
|
||||||
@@ -62,4 +59,4 @@ USER nextjs
|
|||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["node", "server.js"]
|
CMD ["node", "server.js"]
|
||||||
14381
admin-next/package-lock.json
generated
Normal file
14381
admin-next/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -16,7 +16,7 @@
|
|||||||
"@dnd-kit/core": "^6.3.1",
|
"@dnd-kit/core": "^6.3.1",
|
||||||
"@dnd-kit/sortable": "^10.0.0",
|
"@dnd-kit/sortable": "^10.0.0",
|
||||||
"@dnd-kit/utilities": "^3.2.2",
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
"@hookform/resolvers": "^5.1.1",
|
"@hookform/resolvers": "5.2.2",
|
||||||
"@mdxeditor/editor": "^3.39.1",
|
"@mdxeditor/editor": "^3.39.1",
|
||||||
"@prisma/client": "^6.11.1",
|
"@prisma/client": "^6.11.1",
|
||||||
"@radix-ui/react-accordion": "^1.2.11",
|
"@radix-ui/react-accordion": "^1.2.11",
|
||||||
|
|||||||
Reference in New Issue
Block a user