Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ninech/buildpack-static-require
https://github.com/ninech/buildpack-static-require
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ninech/buildpack-static-require
- Owner: ninech
- License: apache-2.0
- Created: 2023-12-11T16:00:57.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-23T13:50:02.000Z (8 months ago)
- Last Synced: 2024-04-23T15:32:59.031Z (8 months ago)
- Language: Shell
- Size: 701 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 .
```