diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..a1571bb83 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +add_emoji_gsub.pyc +build +waveflag + +.git/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..799a420bd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM python:buster +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 . + +ADD . /blobmoji +WORKDIR /blobmoji + +# Build blobmoji font +CMD make -j $(nproc)