1 FROM python:3.9-trixie AS base
6 RUN apt-get update && apt-get install -y \
9 texlive-xetex texlive-lang-polish \
15 texlive-fonts-extra-links \
16 fonts-noto-core fonts-noto-extra
19 COPY requirements/requirements.txt requirements.txt
21 RUN pip install --no-cache-dir -r requirements.txt
22 RUN pip install --no-cache-dir \
24 django-debug-toolbar==3.2.2
26 RUN addgroup --gid $GID app && \
27 adduser --gid $GID --home /app --uid $UID app
31 RUN cp -a /usr/local/lib/python*/site-packages/librarian/fonts /usr/share/fonts
38 RUN mkdir /app/.ipython
42 #RUN pip install --no-cache-dir coverage
47 RUN pip install --no-cache-dir gunicorn