fix: run dist/bin/server.js in the container
All checks were successful
/ checks (push) Successful in 36s
/ deploy (push) Successful in 6s

dist/index.js only exports the Express app since the refactor, so the
container exited 0 without listening.
This commit is contained in:
Noah Holt 2026-11-05 01:16:54 -06:00
parent b0c3f695a8
commit 025c3a8714

View file

@ -18,4 +18,4 @@ RUN npm ci --omit=dev
COPY --from=build /app/dist ./dist
USER node
EXPOSE 3000
CMD ["node", "dist/index.js"]
CMD ["node", "dist/bin/server.js"]