mirror of
https://github.com/meienberger/runtipi.git
synced 2024-09-11 12:15:48 +03:00
refactor(docker): use non-root user in dashboard image
This commit is contained in:
parent
769f671749
commit
dc427acced
@ -33,7 +33,8 @@ RUN npm run build
|
|||||||
FROM node_base AS app
|
FROM node_base AS app
|
||||||
|
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
# USER node
|
|
||||||
|
USER node
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user