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 . .