cdaprod/Dockerfile Service Discovery & Screenshot
Automatically discover services from Dockerfiles and capture screenshots across different viewports
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| base-dir | Base directory to scan for Dockerfiles | no | . |
| screenshot-dir | Directory to store screenshots | no | public/assets/screenshots |
| services | JSON string of services to scan (overrides automatic discovery) | no | — |
| service-url | Single service URL to scan | no | — |
| viewports | JSON array of viewport configurations | no | [{"width":1920,"height":1080,"name":"desktop"},{"width":768,"height":1024,"name":"tablet"},{"width":375,"height":812,"name":"mobile"}] |
| timeout | Timeout in milliseconds for service discovery | no | 30000 |
| wait-for-service | Time in seconds to wait for services to be ready | no | 30 |
| force-refresh | Force refresh all screenshots | no | false |
| commit-screenshots | Whether to commit screenshots back to the repository | no | false |
| generate-metadata | Generate metadata files for discovered services | no | true |
Outputs
| name | description |
|---|---|
| services | JSON array of discovered services |
| screenshots | JSON array of generated screenshot paths |
| metadata-path | Path to the generated metadata file |