Source code shouldn't be included in the image
Closed this issue · 1 comments
icruces commented
Expected Behavior
The image should only include the generated static files for the application.
Current Behavior
It includes the whole project folder. Including source code files.
Possible Solution
Steps to Reproduce
Motivations
It is not ideal that users of the image can inspect the container and have access to the source code of the application.
arjun024 commented
The Web-Servers composite buildpack includes as component the Source Removal buildpack. Did you try it out? https://github.com/paketo-buildpacks/source-removal
Feel free to reopen the issue if that doesn't solve your issue