Skip to content

Embed static resources #99

@Deleplace

Description

@Deleplace

Suggestion: let's use the go package embed to produce a self-contained "fat binary" app executable.

Pros:

  • follows modern best practices (since Go 1.16)
  • single file copied into the final docker image
  • minimizes potential attack surface
  • avoids bugs like Broken on local dev env #98

I can make a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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