Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ninech/buildpack-static-require


https://github.com/ninech/buildpack-static-require

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# buildpack-static-require

This buildpack complements the
[`buildpack-static-confgen`](https://github.com/ninech/buildpack-static-confgen)
buildpack, see the `README.md` on why this can't be in a single buildpack.
This simply requires nginx if an `index.html` can be found in the workspace or
if the env var `BP_STATIC_WEBROOT` is configured. The build phase is a noop.

To test the build locally, checkout this repository and then build it with:

```bash
pack build static --path ./integration/testdata/default_app/ \
--builder paketobuildpacks/builder-jammy-base \
--buildpack ninech/buildpack-static-confgen \
--buildpack paketo-buildpacks/web-servers \
--buildpack .
```