[Docker]12-Defining entrypoints

Could anyone explain why we need to move up the following code snippets to solve the npm start issue?
RUN addgroup app && adduser -S -G app app
USER app

1 Like