diff --git a/Dockerfile b/Dockerfile index 1fb9a44..80fd363 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ FROM python:3.8-alpine RUN apk add --no-cache gcc libc-dev libffi-dev openssl openssl-dev python3-dev # add user that will be used to install and run the application -RUN adduser -D deploy +RUN addgroup -g 1000 deploy +RUN adduser -D -u 1000 -G deploy deploy # switch to the created user and install the application USER deploy