forked from seattleflu/lab-result-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (21 loc) · 777 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Newer Debian releases (e.g. "buster") include a version of tlmgr that doesn't
# work well. It doesn't matter that "stretch" is from 2017, it works fine.
FROM python:3.7-slim-stretch
# Execute subsequent RUN statements with bash for handy modern shell features.
SHELL ["/bin/bash", "-c"]
RUN apt-get update && \
apt-get install -y --no-install-recommends \
texlive-xetex \
texlive-fonts-recommended \
fontconfig \
wget \
xzdec
RUN tlmgr init-usertree --usertree $(kpsewhich -var-value TEXMFLOCAL)
RUN tlmgr install --usertree $(kpsewhich -var-value TEXMFLOCAL) droid
WORKDIR /src
COPY Pipfile Pipfile.lock ./
RUN pip install --no-cache-dir pipenv
RUN pipenv install --system
COPY . ./
ENV PATH /src:$PATH
CMD ["/bin/bash"]