encore icon indicating copy to clipboard operation
encore copied to clipboard

Support to export to a Platform as a Service format

Open wpjunior opened this issue 6 months ago • 4 comments
trafficstars

Nowadays the encore just support to export using a docker image.

But could support to buildpack (heroku) or Tsuru.io format.

example:

$ encore build dist

$ find dist

dist/package.json dist/Procfile dist/encore-runtime.node dist/main.mjs

$ cd dist

$ tsuru app deploy -a MYAPP . OR

$ heroku ...

wpjunior avatar May 12 '25 12:05 wpjunior

Thanks for this suggestion. We'll likely not prioritize this in the short term as we already have have a first-class integration with Encore Cloud that covers the fundamental need here i.e. enabling simple and automated deployments.

marcuskohlberg avatar May 12 '25 12:05 marcuskohlberg

Yeah, but I can provide a merge request, and the initial effort could be mine, If I code, you can accept? @marcuskohlberg

wpjunior avatar May 12 '25 13:05 wpjunior

This is the first time we've received a request to support these targets. As such it's not something we're open to at this present moment, as having additional deployment targets adds substantial additional maintenance burden: Whenever we make changes to how Docker images are laid out we'd also need to update these additional targets.

eandre avatar May 12 '25 13:05 eandre

That's fine — maybe just simplifying it to expose the command that generates the main.mjs would already be helpful.

@eandre and @marcuskohlberg

wpjunior avatar May 12 '25 13:05 wpjunior