plateforme-tfjm2/Dockerfile

19 lines
342 B
Docker

FROM python:3-buster
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
# Install LaTeX requirements
RUN apt update && \
apt install -y 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