diff --git a/Dockerfile b/Dockerfile index bee651745b7bd86b3ddfc22e11b154b1b7a8b352..f0251508d915203e3b3f1cfa3ef3388953588261 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,8 @@ EXPOSE 5000 # First, copy and install only the requirements... RUN useradd -ms /bin/bash python && chown -R python:python /app +USER python +ENV PATH="$PATH:/home/python/.local/bin" RUN pip install --upgrade pip setuptools RUN pip install pipenv COPY Pipfile.lock .