diff --git a/Dockerfile b/Dockerfile index 2668132517a2a86de2be11dd546096ff29850d1c..c8b70c628a3b662ca7a44de495f6decc47e3be28 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 .