From e83161a31d85753978bf626d02521be40ade9699 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Ducati?= <ducati@cl.uni-heidelberg.de>
Date: Thu, 26 Sep 2024 16:58:42 +0200
Subject: [PATCH] fix: drop root permissions

---
 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 2668132..c8b70c6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,6 +5,8 @@ WORKDIR /app
 EXPOSE 5000
 
 # First, copy and install only the requirements...
+RUN useradd -ms /bin/bash python
+USER python
 RUN pip install --upgrade pip setuptools
 RUN pip install pipenv
 COPY Pipfile.lock .
-- 
GitLab