Dockerfile: don't run uwsgi as root

pull/1/head
radex 2023-09-19 22:16:07 +02:00
parent fee93310d0
commit 3c8a1d8cc0
1 changed files with 3 additions and 0 deletions

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"