Sync accepted GitHop state and prompt records

This commit is contained in:
Hop
2026-07-12 01:57:25 +00:00
parent e5bb6a5600
commit b780eadd33
164 changed files with 4811 additions and 12224 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM golang:1.26-alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/hop-control-plane ./cmd/hop-control-plane
FROM alpine:3.23
RUN apk add --no-cache ca-certificates && addgroup -S hop && adduser -S -G hop hop
COPY --from=build /out/hop-control-plane /usr/local/bin/hop-control-plane
USER hop
EXPOSE 8080
ENTRYPOINT ["hop-control-plane"]