resolve imports

This commit is contained in:
JCEEE
2026-08-09 10:46:33 +01:00
parent 16ba916029
commit 3a283a1e6f
6 changed files with 9 additions and 5 deletions
+4
View File
@@ -17,6 +17,10 @@ FROM node:22-alpine
RUN corepack enable && apk add --no-cache nginx wget unzip ca-certificates
WORKDIR /app
COPY --from=builder /app/frontend/build ./frontend/build
# adapter-node externalizes runtime deps (pocketbase, chart.js, qrcode, …), so
# the frontend's pnpm node_modules (symlinks into the root .pnpm store) must be
# present in the image too, or Node fails with ERR_MODULE_NOT_FOUND.
#COPY --from=builder /app/frontend/node_modules ./frontend/node_modules
COPY --from=builder /app/proxy/dist ./proxy/dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/pnpm-lock.yaml ./