Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Instruction file imported from JohnStrunk/infra-containers (.github/instructions/dockerfile.instructions.md). Copyright stays with the author.
Dockerfile rules
Use minimal base images to reduce image size and attack surface.
Use multi-stage builds to optimize the final image.
After editing a Dockerfile, always use hadolint to check for best
practices and common mistakes. Fix any issues reported by hadolint.
Linting exceptions
Use # hadolint ignore=DL3008 or DL3018 to ignore warnings about pinning
specific package versions when installing packages with apt-get or similar
package managers.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/johnstrunk-infra-containers-dockerfile-instructions/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.