Skip to content

Instantly share code, notes, and snippets.

@Yatekii
Last active June 3, 2020 19:27
Show Gist options
  • Save Yatekii/2a3304a67ece5fe6773dbcd565386921 to your computer and use it in GitHub Desktop.
Save Yatekii/2a3304a67ece5fe6773dbcd565386921 to your computer and use it in GitHub Desktop.
FROM alpine:3.12
RUN apk \
--update \
--upgrade \
--no-cache \
add \
cairo-dev \
pango-dev \
gdk-pixbuf-dev \
ttf-dejavu
ADD requirements.txt requirements.txt
RUN set \
-ex \
&& apk \
--no-cache \
--virtual .build-deps \
add \
gcc \
musl-dev \
jpeg-dev \
zlib-dev \
libffi-dev \
python3-dev \
py3-pip \
py3-wheel \
&& pip3 \
install \
--no-cache-dir \
-r requirements.txt \
&& apk \
del .build-deps
webencodings
WeasyPrint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment