Skip to content

Add a method for in-place generating a default Procfile #5

@josegonzalez

Description

@josegonzalez

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:

web: function.handler

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions