Skip to content

fix(build): copy contract source into production image - #147

Merged
caiopizzol merged 1 commit into
mainfrom
fix/production-contract-source
Jul 13, 2026
Merged

fix(build): copy contract source into production image#147
caiopizzol merged 1 commit into
mainfrom
fix/production-contract-source

Conversation

@caiopizzol

@caiopizzol caiopizzol commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Moor 0.54.0 cannot start because the production image includes the contract manifest but not its runtime TypeScript source. The cron route imports that source directly, so the image exits before becoming healthy.

  • Copies the internal contract package into the production stage
  • Keeps the existing workspace installation and runtime import unchanged
  • Restores startup without changing migrations or cron behavior

Summary by cubic

Fixes production startup by including the contract runtime source in the final Docker image. Copies packages/contract/ so the cron route’s direct TS import resolves; no changes to migrations or cron behavior.

Written for commit 5e808be. Summary will update on new commits.

Review in cubic

@caiopizzol
caiopizzol marked this pull request as ready for review July 13, 2026 13:56
@caiopizzol
caiopizzol merged commit e60faea into main Jul 13, 2026
3 checks passed
@caiopizzol
caiopizzol deleted the fix/production-contract-source branch July 13, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant