diff --git a/Dockerfile b/Dockerfile index df09d30..4b80b4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,12 @@ FROM python:3.10-alpine3.15 +RUN adduser -h /opt/shiftregister -D shiftregister + +USER shiftregister WORKDIR /opt/shiftregister +ENV PATH="$PATH:/opt/shiftregister/.local/bin" + RUN pip install --no-cache-dir gunicorn COPY requirements.txt ./