2020-04-29 00:24:12 +00:00
|
|
|
FROM python:3-buster
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
|
|
|
|
RUN mkdir /code
|
|
|
|
WORKDIR /code
|
|
|
|
|
|
|
|
# Install LaTeX requirements
|
|
|
|
RUN apt update && \
|
2020-04-29 02:26:26 +00:00
|
|
|
apt install -y gettext texlive-latex-extra texlive-fonts-extra texlive-lang-french && \
|
2020-04-29 00:24:12 +00:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
COPY . /code/
|
|
|
|
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
|
|
|
|
ENTRYPOINT ["/code/entrypoint.sh"]
|
|
|
|
EXPOSE 8000
|