diff --git a/Dockerfile b/Dockerfile index 711f118..a01d2a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN go build -o /home/notatio/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 +RUN adduser --home /home/notatio --disabled-password --gecos "" notatio USER notatio WORKDIR /