change container user
This commit is contained in:
parent
98cbd3c74e
commit
24a1a6cc5e
1 changed files with 2 additions and 2 deletions
|
@ -6,11 +6,11 @@ RUN apk add dumb-init
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
USER botanique
|
USER node
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --chown=botanique:botanique . .
|
COPY --chown=node:node . .
|
||||||
|
|
||||||
RUN npm ci --only=production
|
RUN npm ci --only=production
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue