change container user

This commit is contained in:
Mylloon 2022-07-03 19:10:12 +02:00
parent 98cbd3c74e
commit 24a1a6cc5e
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -6,11 +6,11 @@ RUN apk add dumb-init
ENV NODE_ENV=production
USER botanique
USER node
WORKDIR /app
COPY --chown=botanique:botanique . .
COPY --chown=node:node . .
RUN npm ci --only=production