Integrate pdfCropMargins for cropping PDFs (#29)

This commit is contained in:
daniel-j
2024-07-21 17:18:31 +02:00
parent 0f660a0897
commit 6bab3da526
3 changed files with 59 additions and 2 deletions

View File

@@ -16,6 +16,12 @@ RUN wget https://web.archive.org/web/20150803131026if_/https://kindlegen.s3.amaz
chmod +x /usr/local/bin/kindlegen && \
rm -rf kindlegen
RUN apk add --no-cache pipx
ENV PATH="$PATH:/root/.local/bin"
RUN pipx install pdfCropMargins
# Copy files needed by npm install
COPY package*.json ./