Running node as nobody rather than root

This commit is contained in:
simojenki
2021-01-31 10:47:36 +11:00
parent 1e8820b419
commit 6f161abd95

View File

@@ -25,4 +25,6 @@ COPY web web
RUN yarn install --prod
USER nobody
CMD ["node", "./app.js"]