1 FROM python:2.7-alpine AS base
3 RUN apk update && apk add --no-cache \
4 libxslt-dev libxml2-dev build-base \
5 tiff-dev jpeg-dev openjpeg-dev zlib-dev freetype-dev lcms2-dev \
6 libwebp-dev tcl-dev tk-dev harfbuzz-dev fribidi-dev \
7 libxcb-dev libpng-dev \
9 COPY requirements.txt requirements.txt
10 RUN pip install --no-cache-dir -r requirements.txt
21 RUN pip install --no-cache-dir gunicorn psycopg2-binary