Don't run as root in container

This commit is contained in:
2022-02-06 18:44:11 +01:00
parent 7918aa5fd2
commit 23474bc89a
2 changed files with 2 additions and 1 deletions

View File

@@ -8,4 +8,5 @@ RUN nim c -d:release --passL:-static norbert.nim
FROM scratch
COPY --from=builder /build/norbert /norbert
USER 65534
ENTRYPOINT ["/norbert"]