mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-12-06 11:03:52 +00:00
GoReleaser now builds cmd/gateway for linux and darwin on amd64 and arm64. It publishes the archives and a signed multi-arch image, ghcr.io/lukaszraczylo/traefik-llmgateway, from Dockerfile.goreleaser. The plugin source archive does not change. The Release workflow sets docker-enabled, the same as the other projects on the shared workflow.
11 lines
470 B
Docker
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"]
|