Update to python:slim

This commit is contained in:
Michael 2020-10-08 11:11:10 -05:00
parent 9ac8776f44
commit 16413ce465

View file

@ -1,18 +1,18 @@
FROM python:3.7-slim FROM python:slim
RUN apt-get update \ RUN apt-get update \
&& apt-get install --no-install-recommends -y \ && apt-get install --no-install-recommends -y \
git \
zopfli \
libcairo2-dev \
make \ make \
gcc \
zopfli \
libc-dev \
libpng-dev \
libcairo2-dev \
imagemagick \ imagemagick \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/googlefonts/nototools.git /nototools RUN pip install --no-cache notofonttools
WORKDIR /nototools
RUN pip install --no-cache -r requirements.txt && pip install --no-cache -e .
ADD . /blobmoji ADD . /blobmoji
WORKDIR /blobmoji WORKDIR /blobmoji