diff --git a/sample-functions/WebhookStash/Dockerfile b/sample-functions/WebhookStash/Dockerfile index 4f7ef758..8ced9b7a 100644 --- a/sample-functions/WebhookStash/Dockerfile +++ b/sample-functions/WebhookStash/Dockerfile @@ -20,4 +20,7 @@ RUN chmod +x /usr/bin/fwatchdog COPY --from=builder /go/bin/WebhookStash /usr/bin/WebhookStash ENV fprocess "/usr/bin/WebhookStash" +RUN addgroup -g 1000 -S app && adduser -u 1000 -S app -G app +USER 1000 + CMD ["/usr/bin/fwatchdog"]