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

Use a custom Matrix username

This commit is contained in:
Yohann D'ANELLO
2020-10-28 17:19:25 +01:00
parent 2ead8cdad5
commit 642ac94b7a
5 changed files with 38 additions and 3 deletions

View File

@ -15,6 +15,11 @@ RUN pip install -r requirements.txt psycopg2-binary sympasoap --no-cache-dir
COPY . /code/
RUN python manage.py collectstatic --noinput && \
python manage.py compilemessages && \
python manage.py migrate && \
python manage.py loaddata initial
# Configure nginx
RUN mkdir /run/nginx
RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log