Change CMD to use npm start instead of node
This commit is contained in:
parent
3fe4b2595a
commit
9dcfe9127f
@ -37,4 +37,5 @@ ENV NODE_ENV=production
|
||||
# This reduces the attack surface by preventing container escape via root privileges
|
||||
USER node
|
||||
|
||||
CMD ["node", "dist/index.js"]
|
||||
CMD ["npm", "start"]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user