diff --git a/Dockerfile b/Dockerfile index e86610c..1d93080 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ RUN go build -o /notatio # Stage 2: Create the final image FROM docker.io/library/alpine:3.18.4 +# Add the user notatio and create its home directory +RUN adduser -D -g '' notatio USER notatio WORKDIR /