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 . .