Change CMD to use npm start instead of node

This commit is contained in:
fodonfoto 2026-01-28 01:48:46 +07:00 committed by GitHub
parent 3fe4b2595a
commit 9dcfe9127f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"]