diff --git a/Dockerfile b/Dockerfile index 6c96f60..dc992b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,11 @@ COPY LICENSE \ requirements.txt \ /code/ -RUN pip install -r /code/requirements.txt +RUN pip install -r /code/requirements.txt \ + && addgroup -g 1000 codespell \ + && adduser -u 1000 -G codespell -s /bin/sh -D codespell + +USER 1000 ENTRYPOINT ["/code/entrypoint.sh"] CMD []