1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-01-18 06:01:17 +00:00
nk20/Dockerfile

27 lines
621 B
Docker
Raw Normal View History

2020-02-03 11:50:42 +01:00
FROM python:3-buster
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
RUN apt update && \
apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \
rm -rf /var/lib/apt/lists/*
2020-03-21 09:22:38 +01:00
# Install LaTeX requirements
RUN apt update && \
2020-03-21 17:54:08 +01:00
apt install -y texlive-latex-extra texlive-fonts-extra texlive-lang-french && \
2020-03-21 09:22:38 +01:00
rm -rf /var/lib/apt/lists/*
2020-03-10 23:37:54 +01:00
COPY . /code/
# Comment what is not needed
2020-03-08 22:42:22 +01:00
RUN pip install -r requirements/base.txt
RUN pip install -r requirements/api.txt
RUN pip install -r requirements/cas.txt
RUN pip install -r requirements/production.txt
2020-02-03 11:50:42 +01:00
ENTRYPOINT ["/code/entrypoint.sh"]
EXPOSE 8000