Files
traefik-llmgateway/Dockerfile.goreleaser
lukaszraczyloandGitHub 66ca8a5633 feat: standalone gateway image and config reload (#12)
The standalone binary reloads its config file on change and on SIGHUP, and keeps the old gateway for running requests.
GoReleaser publishes the standalone binaries and a signed multi-arch image to ghcr.io/lukaszraczylo/traefik-llmgateway.
The plugin form does not change.
2026-11-26 16:33:39 +00:00

11 lines
470 B
Docker

# Image for the standalone gateway, built by GoReleaser (dockers_v2) from the
# binaries it already compiled: dist/<os>/<arch>/llmgateway. `Dockerfile`
# builds the same image from source for local use (make docker-build).
FROM gcr.io/distroless/static-debian12:nonroot
ARG TARGETPLATFORM
COPY ${TARGETPLATFORM}/llmgateway /usr/local/bin/llmgateway
USER nonroot:nonroot
EXPOSE 8080
ENTRYPOINT ["/usr/local/bin/llmgateway"]
CMD ["-config", "/etc/llmgateway/config.yaml"]