Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-action build should copy sub-folders into template #18

Closed
alexellis opened this issue Jul 18, 2017 · 3 comments
Closed

-action build should copy sub-folders into template #18

alexellis opened this issue Jul 18, 2017 · 3 comments

Comments

@alexellis
Copy link
Member

When building a function with a node template for instance any additional sub-folders are not copied into the final image - just flat files at the root.

This should be a change in the build step in https://github.com/alexellis/faas-cli/blob/master/app.go#L293

@rgee0
Copy link
Contributor

rgee0 commented Jul 18, 2017

Possibly employ recursion in the copy files function to traverse the directory tree.

Happy to have a look at this.

@alexellis
Copy link
Member Author

Cheers @rgee0 - awesome to get this contribution.

@alexellis
Copy link
Member Author

Fixed in #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants