Dockerfile: don't run uwsgi as root
This commit is contained in:
parent
fee93310d0
commit
3c8a1d8cc0
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue