diff --git a/Dockerfile b/Dockerfile index 7290d997a5..6081ffc78f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,10 @@ RUN mkdir -p /usr/src WORKDIR /usr/src/ +RUN chown -R node:node . + +USER node + COPY --from=builder /usr/src/package.json /usr/src/package.json COPY --from=builder /usr/src/.yarn /usr/src/.yarn