mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-12-31 10:09:35 -06:00
fix: Regenerate package-lock.json to remove corrupted npm registry URLs
The workspace package-lock.json had corrupted 'resolved' URLs for many packages including string_decoder, causing Docker builds to fail with 404 errors. Changes: - Regenerated root package-lock.json which manages all workspace dependencies - Restored npm ci in Dockerfile (now that lockfile is fixed) - Keep PRISMA_CLI_BINARY_TYPE=binary for ARM64 compatibility This should resolve both AMD64 and ARM64 Docker build failures.
This commit is contained in:
@@ -47,9 +47,9 @@ COPY --chown=node:node backend/ ./backend/
|
||||
WORKDIR /app/backend
|
||||
|
||||
RUN npm cache clean --force &&\
|
||||
rm -rf node_modules ~/.npm /root/.npm package-lock.json &&\
|
||||
npm install --omit=dev --ignore-scripts --legacy-peer-deps --no-audit --prefer-online --fetch-retries=0 &&\
|
||||
npm run db:generate &&\
|
||||
rm -rf node_modules ~/.npm /root/.npm &&\
|
||||
npm ci --ignore-scripts --legacy-peer-deps --no-audit --prefer-online --fetch-retries=0 &&\
|
||||
PRISMA_CLI_BINARY_TYPE=binary npm run db:generate &&\
|
||||
npm prune --omit=dev &&\
|
||||
npm cache clean --force
|
||||
|
||||
|
||||
2064
package-lock.json
generated
2064
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user