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:
parent
0fdcbf77d6
commit
afeefbf19d
2 changed files with 7 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue