Description of feature
While this isn't useful outside of the Dokku context, it would be great if we could generate a default Procfile based on whatever language was in use. If no Procfile exists, we would generate a default one based on the following template:
The function.handler would be different depending on the language, but would be defined as follows:
dotnet: test::test.Function::FunctionHandler
go: bootstrap
nodejs: function.handler
pip: function.handler
ruby: function.handler
We could get smart and detect the function filename from lambda_function.$ext as well.
Description of feature
While this isn't useful outside of the Dokku context, it would be great if we could generate a default
Procfilebased on whatever language was in use. If noProcfileexists, we would generate a default one based on the following template:The
function.handlerwould be different depending on the language, but would be defined as follows:dotnet:test::test.Function::FunctionHandlergo:bootstrapnodejs:function.handlerpip:function.handlerruby:function.handlerWe could get smart and detect the function filename from
lambda_function.$extas well.