diff --git a/Dockerfile b/Dockerfile index 9fe2a3e..96f3c9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,9 @@ WORKDIR /app COPY ./web /app/web COPY --from=builder --chown=nonroot:nonroot /app/dashboard /app/dashboard +RUN adduser -u 1000 --disabled-password --gecos "" --no-create-home nonroot +USER nonroot + ENTRYPOINT ["/app/dashboard"] -CMD ["-in-cluster=true"] \ No newline at end of file +CMD ["-in-cluster=true"]