Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
non root user
  • Loading branch information
mpetrunic committed Jul 30, 2019
1 parent 58c8fc8 commit 61dbbf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/Dockerfile
Expand Up @@ -30,4 +30,8 @@ COPY --from=0 /usr/app/yarn.lock /app/yarn.lock

RUN yarn install --frozen-lockfile --production && yarn cache clean && apk del git python g++ gcc make

RUN chown -R node: .

USER node

ENTRYPOINT ["/app/bin/lodestar"]

0 comments on commit 61dbbf3

Please sign in to comment.