From 22a70db96935f829a0457b5a034b2cd3559fe627 Mon Sep 17 00:00:00 2001 From: AlexNg Date: Sat, 7 Sep 2024 17:12:39 +0800 Subject: [PATCH] fix: Generated files are root only Signed-off-by: AlexNg --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index c36ba07..bb295bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,9 @@ WORKDIR /app # Install git RUN apk add --update --no-cache git && rm -rf /var/cache/apk/* +RUN adduser -D waku +USER waku + # Copy bins from build stage COPY --from=build-stage /waku-cli/waku /usr/bin/waku