From dcad331f487e37640d70b74b6b7c0fc6f9d89d17 Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Thu, 8 Jan 2026 12:23:13 -0800 Subject: [PATCH] Add explicit tinypdf-plus build step to Dockerfile The Docker build cache was preventing postinstall from running. Added explicit build step after npm install to ensure tinypdf-plus dist folder is generated. Co-Authored-By: Claude --- backend/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/Dockerfile b/backend/Dockerfile index 3b49d23..2ee0298 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -13,6 +13,9 @@ COPY prisma ./prisma/ # Install dependencies RUN npm install +# Build tinypdf-plus package +RUN cd node_modules/tinypdf-plus && npm run build || (echo "tinypdf-plus build failed" && exit 1) + # Copy source COPY . .