UwU suppowt

This commit is contained in:
Laura Klünder 2024-09-06 21:15:08 +02:00
parent bece878aa2
commit 43f7414573
6 changed files with 139 additions and 3 deletions

View file

@ -69,6 +69,7 @@ RUN --mount=type=cache,target=/pip-cache \
-r requirements/rsvg.txt \
-r requirements/sentry.txt \
-r requirements/metrics.txt \
-r requirements/uwu.txt \
-r requirements/server-asgi.txt && \
pip install --cache-dir /pip-cache uwsgi
@ -94,7 +95,9 @@ ENV C3NAV_DEBUG="" \
USER c3nav
WORKDIR /app
RUN /app/env/bin/python manage.py compilemessages && \
RUN /app/env/bin/python manage.py makemessages -l en_UW && \
/app/env/bin/python genuwu.py && \
/app/env/bin/python manage.py compilemessages && \
/app/env/bin/python manage.py collectstatic -l --no-input && \
/app/env/bin/python manage.py compress && \
rm -r /data/*