[scott@sob-desktop]/tmp/family-tasks% sudo docker build -t myapp .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
Sending build context to Docker daemon 424.4kB
Step 1/25 : FROM node:18-alpine AS base
---> 73088e107431
Step 2/25 : FROM base AS deps
---> 73088e107431
Step 3/25 : RUN apk add --no-cache libc6-compat gcompat
---> Running in c2fa654cb0a6
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
(1/3) Installing musl-obstack (1.2.3-r2)
(2/3) Installing libucontext (1.2-r3)
(3/3) Installing gcompat (1.1.0-r4)
OK: 11 MiB in 19 packages
Removing intermediate container c2fa654cb0a6
---> f6967ca8d606
Step 4/25 : WORKDIR /app
---> Running in 4d5be8bffc69
Removing intermediate container 4d5be8bffc69
---> 465b1d6d9a29
Step 5/25 : COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
---> 594db68f9096
Step 6/25 : RUN if [ -f yarn.lock ]; then yarn --frozen-lockfile; elif [ -f package-lock.json ]; then npm ci; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; else echo "Lockfile not found." && exit 1; fi
---> Running in c364c106829a
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice
npm error code 127
npm error path /app/node_modules/@prisma/client
npm error command failed
npm error command sh -c node scripts/postinstall.js
npm error Error relocating /app/node_modules/node/bin/node: fcntl64: symbol not found
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-07-18T22_06_33_643Z-debug-0.log
The command '/bin/sh -c if [ -f yarn.lock ]; then yarn --frozen-lockfile; elif [ -f package-lock.json ]; then npm ci; elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; else echo "Lockfile not found." && exit 1; fi' returned a non-zero code: 127