refactor(docker): use non-root user in dashboard image

This commit is contained in:
Nicolas Meienberger 2023-11-25 11:24:08 +01:00
parent 769f671749
commit dc427acced

View file

@ -33,7 +33,8 @@ RUN npm run build
FROM node_base AS app
ENV NODE_ENV production
# USER node
USER node
WORKDIR /app