Dockerfile: don't run uwsgi as root

This commit is contained in:
radex 2023-09-19 22:16:07 +02:00
parent fee93310d0
commit 3c8a1d8cc0

View file

@ -29,6 +29,9 @@ RUN apt-get update && \
COPY krb5.conf /etc/krb5.conf
RUN useradd -rm app
USER app
ENV VIRTUAL_ENV=/venv/.venv \
PATH="/venv/.venv/bin:$PATH"