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 committed by Mylloon
parent 2202eb0e98
commit d1ac54db9c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

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 . .