Skip to content

Commit

Permalink
feat: add wkhtmltoimage to /bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyashkin-ronasit committed Jul 4, 2024
1 parent 4f3d201 commit cdbe715
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ RUN apk add --no-cache \

ARG TARGETARCH
COPY --from=wkhtmltopdf /bin/wkhtmltopdf /app/vendor/h4cc/wkhtmltopdf-${TARGETARCH}/bin/wkhtmltopdf-${TARGETARCH}
COPY --from=wkhtmltopdf /bin/wkhtmltopdf /bin/wkhtmltopdf

COPY --from=wkhtmltopdf /bin/wkhtmltoimage /app/vendor/h4cc/wkhtmltoimage-${TARGETARCH}/bin/wkhtmltoimage-${TARGETARCH}
COPY --from=wkhtmltopdf /bin/wkhtmltoimage /bin/wkhtmltoimage

RUN chmod +x /app/vendor/h4cc/wkhtmltopdf-${TARGETARCH}/bin/wkhtmltopdf-${TARGETARCH}
RUN chmod +x /bin/wkhtmltopdf
RUN chmod +x /bin/wkhtmltoimage

0 comments on commit cdbe715

Please sign in to comment.