fix(docker): correct CMD paths for service builds

- backend: node services/backend/dist/index.js (not dist/index.js)
- discord-gateway: node services/discord-gateway/dist/index.js
- frontend: pnpm --filter preview instead of root dev:web (missing frontend/ dir)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-06-01 22:42:45 +07:00
co-authored by Claude Opus 4.6
parent bf5849f235
commit a9fa22262e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -38,4 +38,4 @@ RUN pnpm --filter './services/backend' run build
EXPOSE 3001
# Start backend
CMD ["node", "dist/index.js"]
CMD ["node", "services/backend/dist/index.js"]
+1 -1
View File
@@ -38,4 +38,4 @@ RUN pnpm --filter './services/discord-gateway' run build
RUN mkdir -p /app/recordings
# Start discord gateway
CMD ["node", "dist/index.js"]
CMD ["node", "services/discord-gateway/dist/index.js"]
+2 -2
View File
@@ -37,5 +37,5 @@ RUN pnpm --filter './services/frontend' run build
# Expose port (served by backend)
EXPOSE 3000
# Start development server
CMD ["pnpm", "run", "dev:web"]
# Start frontend (production preview)
CMD ["pnpm", "--filter", "./services/frontend", "run", "preview", "--", "--host", "0.0.0.0"]