Fix production deploy: TypeScript support + DB schema push

Planner crashed because Node.js couldn't handle .ts imports — add
--experimental-strip-types to the CMD. Journal crashed because the
database had no schemas — add drizzle-kit push to the deploy script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-25 01:26:16 +01:00
parent 0fdcbf77d6
commit afeefbf19d
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 7 additions and 2 deletions

View file

@ -30,4 +30,4 @@ COPY --from=build /app/packages ./packages
WORKDIR /app/apps/planner
EXPOSE 3001
ENV PORT=3001
CMD ["node", "server.ts"]
CMD ["node", "--experimental-strip-types", "server.ts"]