run docker container as nobody:nogroup

master
lub 5 years ago
parent 2766de71eb
commit 524211fe5a

@ -11,4 +11,6 @@ COPY requirements.txt ./
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
COPY scrape.py ./ COPY scrape.py ./
USER nobody:nogroup
CMD [ "python", "scrape.py" ] CMD [ "python", "scrape.py" ]
Loading…
Cancel
Save