fix: update dockerfile to run npm start (#31)

fix: update dockerfile to run npm start (which runs ts-node) instead of node

Co-authored-by: Aster Fialla <asterfialla@gmail.com>
This commit is contained in:
2026-03-03 07:43:25 -05:00
committed by GitHub
parent 21587dcb7a
commit 78cda7d3c4

View File

@@ -7,4 +7,4 @@ FROM node:20-alpine
WORKDIR /app WORKDIR /app
COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/node_modules ./node_modules
COPY . . COPY . .
CMD ["node", "src/bot.js"] CMD ["npm", "start"]