diff options
Diffstat (limited to 'docker/app/stretch/3.6')
| -rw-r--r-- | docker/app/stretch/3.6/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile index 07911778..365ea451 100644 --- a/docker/app/stretch/3.6/Dockerfile +++ b/docker/app/stretch/3.6/Dockerfile @@ -2,6 +2,11 @@ FROM python:3.6-stretch ARG EXTRAS=deploy +RUN adduser \ + --disabled-login \ + --no-create-home \ + pysite + RUN apt-get update -y \ && \ apt-get install --no-install-recommends -y \ @@ -23,4 +28,5 @@ RUN apt-get purge -y \ libc-dev \ libpq-dev +USER pysite CMD ["uwsgi", "--ini", "docker/app/uwsgi.ini"] |