From 60e0e42e82454e1eb5906a002aaf920573e20408 Mon Sep 17 00:00:00 2001 From: mudasir <96320211+mud-ali@users.noreply.github.com> Date: Fri, 7 Jun 2024 17:04:28 -0400 Subject: [PATCH] fix michaelsoft docker probably --- michaelsoft-gring/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/michaelsoft-gring/Dockerfile b/michaelsoft-gring/Dockerfile index 6de80a5..7a18b17 100644 --- a/michaelsoft-gring/Dockerfile +++ b/michaelsoft-gring/Dockerfile @@ -1,11 +1,13 @@ FROM python:3.12 -WORKDIR /app - -RUN useradd -m bcactf && chown -R bcactf:bcactf /app +RUN useradd -m -d /home/bcactf bcactf && chown -R bcactf:bcactf /home/bcactf USER bcactf + +WORKDIR /home/bcactf + ENV PATH $PATH:/home/bcactf/.local/bin + RUN pip install flask COPY . .