From 267935cceb7948aa68de0fdc3f5c54c8cc354045 Mon Sep 17 00:00:00 2001 From: Jakub Raczek Date: Fri, 10 Jan 2025 13:50:02 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index e1c98253..693b67e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,11 @@ RUN BASE_URL=https://github.com/mozilla/geckodriver/releases/download \ ENV ASPNETCORE_ENVIRONMENT Linux #========= +# Create a user and switch to it +#========= +RUN groupadd -r ocaramba && useradd -r -g ocaramba ocaramba +USER ocaramba +#========= # Health Check #========= HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \