diff --git a/Dockerfile b/Dockerfile index 586e458..9c860e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,8 @@ RUN npm install # Bundle app source COPY . . +RUN addgroup -S app -g 50000 && \ + adduser -S -g app -u 50000 app +USER app + ENTRYPOINT [ "node", "server.js" ]