yaju-is-always-watching-you/Dockerfile
awayatan f47fef177b
Some checks failed
CI / test (push) Failing after 4s
Add yaju-is-always-watching-you: Forgejo goroku-check webhook bot
Watches issue/PR comments and pushes for flagged phrases; warns commenters
via reply and opens a redacted correction PR for flagged file content,
never rewriting history or deleting content directly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-26 22:47:12 +09:00

13 lines
409 B
Docker

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 -o /out/yaju-keisatsu ./cmd/yaju-is-always-watching-you
FROM alpine:3.20
RUN apk add --no-cache ca-certificates
COPY --from=build /out/yaju-keisatsu /usr/local/bin/yaju-keisatsu
EXPOSE 8080
ENTRYPOINT ["/usr/local/bin/yaju-keisatsu"]
CMD ["-config", "/etc/yaju-keisatsu/config.yaml"]