mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
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
|