1 FROM python:3.8 AS base
6 RUN apt-get update && apt-get install -y \
9 texlive-xetex texlive-lang-polish \
12 COPY requirements/requirements.txt requirements.txt
16 RUN pip install aeneas
18 RUN pip install --no-cache-dir -r requirements.txt
19 RUN pip install --no-cache-dir \
21 django-debug-toolbar==3.2.2 \
24 RUN addgroup --gid $GID app
25 RUN adduser --gid $GID --home /app --uid $UID app
27 RUN apt-get install -y \
33 texlive-fonts-extra-links \
34 fonts-noto-core fonts-noto-extra
40 RUN cp -a /usr/local/lib/python*/site-packages/librarian/fonts /app/.fonts
48 #RUN pip install --no-cache-dir coverage
54 RUN pip install --no-cache-dir gunicorn