From c88964c2798083b3d9c076b7236c82a0783a449b Mon Sep 17 00:00:00 2001 From: Michael Wittig <948604+Sh4kE@users.noreply.github.com> Date: Sun, 4 Nov 2018 09:25:39 +0100 Subject: [PATCH] Use specific user instead allow for all --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2e1791a..f1dccbd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ENV PYTHONUNBUFFERED 1 RUN sudo mkdir /RatS COPY . /RatS WORKDIR /RatS -RUN sudo chmod -R 777 . +RUN sudo chown -R seluser: . RUN sudo pip3 install --no-cache-dir -r ./requirements.txt CMD ["/bin/true"]