Created
March 29, 2022 08:15
-
-
Save defkode/888836faa1f56a1d175c5958134cf66b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster | |
RUN apt-get update -qq && apt-get install -qqy \ | |
build-essential \ | |
python3-pip \ | |
python3-cffi \ | |
libpango-1.0-0 \ | |
libpangocairo-1.0-0 \ | |
libgdk-pixbuf2.0-0 | |
RUN pip3 install --upgrade pip | |
RUN pip3 install WeasyPrint==51 tinycss2==1.0.2 | |
RUN mkdir /tmp/workdir | |
WORKDIR /tmp/workdir | |
ENTRYPOINT ["/usr/local/bin/weasyprint"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment