diff --git a/docker/Dockerfile b/docker/Dockerfile index 91ad134..6cde6ba 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 ./ diff --git a/frontend/src/routes/+page.svelte b/frontend/src/routes/+page.svelte index 9156dfc..f0971a1 100644 --- a/frontend/src/routes/+page.svelte +++ b/frontend/src/routes/+page.svelte @@ -1,6 +1,6 @@