diff --git a/production.Dockerfile b/production.Dockerfile index 4a194b7d764c3..ecefc7e14fa10 100644 --- a/production.Dockerfile +++ b/production.Dockerfile @@ -168,7 +168,7 @@ RUN apt-get install -y --no-install-recommends \ # Install and use a non-root user. RUN groupadd -g 1000 posthog && \ - useradd -u 999 -r -g posthog posthog && \ + useradd -r -g posthog posthog && \ chown posthog:posthog /code USER posthog