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:
parent
4e8c9fd140
commit
dcad331f48
1 changed files with 3 additions and 0 deletions
|
|
@ -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 . .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue