From f5a28ccee9bd3b21138760748ccc220c1387c667 Mon Sep 17 00:00:00 2001 From: Tobias Mieves <tobias.mieves@tu-dortmund.de> Date: Thu, 6 Jun 2024 15:18:54 +0000 Subject: [PATCH] fix: container user running as root --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 36d702b..a95df26 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,5 @@ COPY . /app RUN mkdir -p /app/db/ RUN chmod +x /app/start.sh EXPOSE 8000 +USER 1000 ENTRYPOINT ["./start.sh"] -- GitLab