encore
encore copied to clipboard
Support to export to a Platform as a Service format
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 ...
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.
Yeah, but I can provide a merge request, and the initial effort could be mine, If I code, you can accept? @marcuskohlberg
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.
That's fine — maybe just simplifying it to expose the command that generates the main.mjs would already be helpful.
@eandre and @marcuskohlberg