diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 430b4be..508472f 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -231,9 +231,10 @@ jobs: run: bun install --frozen-lockfile - name: Rebuild native modules - run: npm rebuild + run: npm rebuild --ignore-scripts env: HUSKY: "0" + HUSKY_SKIP_INSTALL: "1" - name: Build macOS distributables run: bun run make:macos @@ -272,9 +273,10 @@ jobs: run: bun install --frozen-lockfile - name: Rebuild native modules - run: npm rebuild + run: npm rebuild --ignore-scripts env: HUSKY: "0" + HUSKY_SKIP_INSTALL: "1" - name: Build Windows distributables run: bun run make -- --platform win32 diff --git a/api/Dockerfile b/api/Dockerfile index 40c3183..041d9cb 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -91,7 +91,7 @@ COPY --from=build /app/dalpuri/generated/ ./dalpuri/generated/ COPY --from=deps /app/node_modules/ ./node_modules/ # Ensure pdfmake Roboto fonts are present at runtime for PDF generation. -COPY --from=build /app/node_modules/pdfmake/build/fonts/ ./node_modules/pdfmake/build/fonts/ +COPY --from=build /app/api/node_modules/pdfmake/build/fonts/ ./node_modules/pdfmake/build/fonts/ ENV NODE_ENV=production