Fix: Permissions Docker (#54)

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/54
This commit is contained in:
Anri 2023-01-17 13:21:54 +01:00
parent 3c1fee1de2
commit 74678e0464

View file

@ -8,7 +8,6 @@ RUN chown node:node /config
RUN apk add dumb-init RUN apk add dumb-init
ENV NODE_ENV=production ENV NODE_ENV=production
USER node
WORKDIR /app WORKDIR /app
COPY --chown=node:node . . COPY --chown=node:node . .