Update Dockerfile
This commit is contained in:
parent
fb6182e7e6
commit
4c0d7b7c6e
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ COPY --from=builder /bin/telegram-approval-join /usr/local/bin/telegram-approval
|
|||
# Create a non-root user and group with specific UID:GID and set ownership
|
||||
RUN addgroup -g 65532 app && \
|
||||
adduser -D -H -u 65532 -G app -s /sbin/nologin app -h /opt && \
|
||||
chown -R app:app /usr/local/bin/telegram-approval-join
|
||||
chown -R app:app /opt /usr/local/bin/telegram-approval-join
|
||||
|
||||
# Run as the created non-root user
|
||||
USER app:app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue