refactor(docker): use non-root user in dashboard image
This commit is contained in:
parent
1357efa0e3
commit
5dbc996b92
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ RUN npm run build
|
|||
FROM node_base AS app
|
||||
|
||||
ENV NODE_ENV production
|
||||
# USER node
|
||||
|
||||
USER node
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
Loading…
Reference in a new issue