Support for building Postfacto using Buildpacks.
kulhadia opened this issue · comments
Hello,
My team was trying to build the postfacto app using Buildpacks and currently, we are not successful in doing so.
So would like to know if there are considerations to support the use of Buildpacks for building the postfacto app in the future.
I'm not sure what specifically you've been trying, but Postfacto already deploys to Cloud Foundry/Tanzu Application Service using the CF Ruby buildpack:
https://github.com/pivotal/postfacto/blob/db61713a38d6a8a945840e0965c88cbaee02510b/deployment/tas/config/manifest.yml#L5-L6
so it should be possible. Are there particular issues you've run into that suggest that something needs to be changed?
We are trying to build it with Paketo Buildpack. We are using the following command.
pack -v build --builder paketobuildpacks/builder:full -e DATABASE_URL="postgres://test:test@test" -e SECRET_KEY_BASE=random postfacto:latest
we have checked with Paketo slack community regarding the same issue. here
The main issue is that the node engine is not present during runtime (due to the uglifier dependency). To our understanding, this should not be necessary as the assets are already minified.