Fix API container entrypoint path to compiled JS

TypeScript builds to dist/index.js, not index.js directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
dlawler489 2026-04-23 06:08:12 +10:00
parent d00fd0f6e4
commit 3d8fea2ff6

View file

@ -62,7 +62,7 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
# Start the API server # Start the API server
ENTRYPOINT ["dumb-init", "--"] ENTRYPOINT ["dumb-init", "--"]
CMD ["node", "server/index.js"] CMD ["node", "server/dist/index.js"]
# Stage 4: Nginx server with pre-built client # Stage 4: Nginx server with pre-built client
FROM nginx:alpine AS nginx-frontend FROM nginx:alpine AS nginx-frontend