aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/stretch/3.6
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-20 23:18:02 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-20 23:18:02 +0200
commitf1bcb58cbffecd4a1b11f31d5901379e8cfbcc70 (patch)
treeb3e462cd2e70d9b7e9c533adf2b8ee1d9dd3f44e /docker/app/stretch/3.6
parentRequire application, set procnames. (diff)
Drop privileges in UWSGI.
Diffstat (limited to 'docker/app/stretch/3.6')
-rw-r--r--docker/app/stretch/3.6/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile
index 365ea451..41e50ed9 100644
--- a/docker/app/stretch/3.6/Dockerfile
+++ b/docker/app/stretch/3.6/Dockerfile
@@ -5,6 +5,7 @@ ARG EXTRAS=deploy
RUN adduser \
--disabled-login \
--no-create-home \
+ --uid 1500 \
pysite
RUN apt-get update -y \
@@ -28,5 +29,4 @@ RUN apt-get purge -y \
libc-dev \
libpq-dev
-USER pysite
CMD ["uwsgi", "--ini", "docker/app/uwsgi.ini"]