diff --git a/packages/node/Dockerfile b/packages/node/Dockerfile index 617ebc917..486d00cd7 100644 --- a/packages/node/Dockerfile +++ b/packages/node/Dockerfile @@ -33,6 +33,9 @@ RUN rm /app.tgz && \ yarn cache clean && \ rm -rf /root/.npm /root/.cache +# Make the user not ROOT +USER 1000 + # Set Entry point and command ENTRYPOINT ["/sbin/tini", "--", "/usr/local/lib/node_modules/@subql/node-cosmos/bin/run"] CMD ["-f","/app"]