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 <noreply@anthropic.com>
This commit is contained in:
fullsizemalt 2026-01-08 12:23:13 -08:00
parent 4e8c9fd140
commit dcad331f48

View file

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