Run as unprivileged user
This commit is contained in:
parent
3faa422b90
commit
863fcb0812
1 changed files with 2 additions and 0 deletions
|
@ -12,4 +12,6 @@ RUN apt-get update && apt-get --no-install-recommends install -y python3 python3
|
|||
RUN python3 -m pip install -U pip setuptools wheel
|
||||
RUN python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz
|
||||
COPY --from=builder /usr/local/cargo/bin/dj_kitty_cat /usr/local/bin/dj_kitty_cat
|
||||
RUN useradd djkk
|
||||
USER djkk
|
||||
CMD ["dj_kitty_cat"]
|
||||
|
|
Loading…
Add table
Reference in a new issue