1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-21 07:58:22 +02:00

Confirm email addresses

This commit is contained in:
Yohann D'ANELLO
2020-09-22 19:37:37 +02:00
parent 3741557200
commit ae56203970
14 changed files with 238 additions and 43 deletions

View File

@ -1,9 +1,10 @@
FROM python:3-alpine
ENV PYTHONUNBUFFERED 1
ENV DJANGO_ALLOW_ASYNC_UNSAFE 1
# Install LaTeX requirements
RUN apk add --no-cache gettext texlive nginx gcc libc-dev libffi-dev postgresql-dev mariadb-connector-c-dev
RUN apk add --no-cache gettext texlive nginx gcc libc-dev libffi-dev postgresql-dev
RUN apk add --no-cache bash
@ -20,7 +21,7 @@ RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/
RUN ln -sf /code/nginx_corres2math.conf /etc/nginx/conf.d/corres2math.conf
RUN rm /etc/nginx/conf.d/default.conf
RUN cp /code/corres2math.cron /etc/crontabs/corres2math
RUN crontab /code/corres2math.cron
# With a bashrc, the shell is better
RUN ln -s /code/.bashrc /root/.bashrc