From e93de591181f1a796da869014891f226c6125a83 Mon Sep 17 00:00:00 2001 From: Jonas Chopin-Revel <45389356+JChopinRevel@users.noreply.github.com> Date: Tue, 28 Mar 2023 15:18:16 +0200 Subject: [PATCH] Edit Dockerfile (#763) Co-authored-by: Jonas Chopin-Revel --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index f65c3ed..c100394 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,6 @@ COPY --from=nim /src/nitter/nitter ./ COPY --from=nim /src/nitter/nitter.example.conf ./nitter.conf COPY --from=nim /src/nitter/public ./public EXPOSE 8080 +RUN adduser -h /src/ -D -s /bin/sh nitter +USER nitter CMD ./nitter