mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Running node as nobody rather than root
This commit is contained in:
@@ -25,4 +25,6 @@ COPY web web
|
|||||||
|
|
||||||
RUN yarn install --prod
|
RUN yarn install --prod
|
||||||
|
|
||||||
|
USER nobody
|
||||||
|
|
||||||
CMD ["node", "./app.js"]
|
CMD ["node", "./app.js"]
|
||||||
Reference in New Issue
Block a user