chore: bootstrap hostexecutor from template

This commit is contained in:
gitea-actions[bot]
2026-05-12 21:47:36 +02:00
parent 59b1a3a4ec
commit 04fa3cf36e
16 changed files with 108 additions and 130 deletions

View File

@@ -5,7 +5,7 @@ RUN go install github.com/a-h/templ/cmd/templ@latest
COPY go.mod ./
RUN go mod download
COPY . .
RUN templ generate && CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o /out/app ./cmd/__PROJECT_NAME__
RUN templ generate && CGO_ENABLED=0 go build -trimpath -ldflags='-s -w' -o /out/app ./cmd/hostexecutor
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=build /out/app /app