19 lines
350 B
Docker
19 lines
350 B
Docker
FROM python:3-buster
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN mkdir /code
|
|
WORKDIR /code
|
|
|
|
# Install LaTeX requirements
|
|
RUN apt update && \
|
|
apt install -y gettext texlive-latex-extra texlive-fonts-extra texlive-lang-french && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY . /code/
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
ENTRYPOINT ["/code/entrypoint.sh"]
|
|
EXPOSE 8000
|