Skip to content

Commit

Permalink
Update docker image user
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed Mar 6, 2024
1 parent fb4ab2a commit a144b9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit a144b9a

Please sign in to comment.