Newer
Older
ENV PYTHONUNBUFFERED 1
ENV PKGS gettext python3 py3-pip py3-wheel uwsgi uwsgi-python py3-psycopg2 py3-pyldap
RUN adduser -D -g '' uwsgi
RUN apk update && apk add $PKGS
WORKDIR code/
COPY setup.cfg setup.py uwsgi.ini LICENSE ./
COPY --from=0 node_modules/ node_modules
RUN django-admin collectstatic --no-input --settings=scheduler.settings.development && \
django-admin compilemessages -l de