Run as root user in debug image

This commit is contained in:
Seednode 2024-01-15 11:11:19 -06:00
parent e08335168c
commit 7cfc1f7a47
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ ARG app
COPY --chown=root:root --chmod=0400 passwd /etc/passwd
# run as nonroot
USER nonroot
USER root
# copy in binary
COPY --from=build --chown=root:root --chmod=0005 /src/$app/$app /$app