main/Dockerfile
Michael 9957b24acd
Fix Dockerfile
Python after 3.7 removes `tp_print` from `PyTypeObject`, preventing `pyclipper` 1.1.0.post1 from compiling.
2020-10-07 16:32:27 -05:00

20 lines
411 B
Docker

FROM python:3.7
RUN apt update && apt install -y \
git \
zopfli \
libcairo2-dev
# Install nototools
RUN git clone https://github.com/googlefonts/nototools.git /nototools
WORKDIR /nototools
RUN pip install -r requirements.txt
RUN pip install -e .
# Create output dir
RUN mkdir /output
ADD . /blobmoji
WORKDIR /blobmoji
# Build blobmoji font
CMD make -j $(nproc) && cp NotoColorEmoji.ttf /output/