Skip to content

Commit

Permalink
Run Edge as non-root in Docker (#1918)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm authored Sep 19, 2023
1 parent f2b24e7 commit 918f322
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ RUN set -x \
COPY polygon-edge /usr/local/bin/

EXPOSE 8545 9632 1478

RUN addgroup -S edge \
&& adduser -S edge -G edge

USER edge

ENTRYPOINT ["polygon-edge"]

0 comments on commit 918f322

Please sign in to comment.