Skip to content
This repository was archived by the owner on Jun 2, 2020. It is now read-only.
This repository was archived by the owner on Jun 2, 2020. It is now read-only.

Cannot include arbitrary files in the Function #499

@rtyler

Description

@rtyler

There may be a pattern for including static files, but I'm not finding one ☹️

Steps to reproduce

  • Create a simple function (http binding) and then add some.json to the root.
  • cargo func run (or run via Docker)
  • Note that the script root doesn't have the file inside of it, and any code in the funciton which tries to load the file obviously fails

Expected behavior

  • Static files synced into the root

I'm thinking of this for including big ugly configuration files, where application settings don't make sense. I don't necessarily need to serve static files from the function (but that could be interesting), rather I just need internal files to be available in the sync-root

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions