Skip to content

Commit

Permalink
feat: set uid and gid in Dockerfile to 1000 (#178)
Browse files Browse the repository at this point in the history
* feat: set uid and gid in Dockerfile to 1000

* feat: use gui 999 instead of 1000

---------

Co-authored-by: Dan Yishai <[email protected]>
  • Loading branch information
pierig-n3xtio and danyi1212 authored Sep 19, 2024
1 parent 28d9ca8 commit 691b262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ FROM python-base

WORKDIR /app

RUN addgroup -S permit
RUN adduser -S -s /bin/bash -G permit -h /home/permit permit
RUN addgroup -S permit -g 999
RUN adduser -S -s /bin/bash -u 1000 -G permit -h /home/permit permit

# copy libraries from build stage
RUN mkdir /home/permit/.local
Expand Down

0 comments on commit 691b262

Please sign in to comment.