this repo has no description
1FROM golang:1.23 AS builder
2WORKDIR /app
3COPY go.mod go.sum ./
4RUN go mod download
5COPY . .
6RUN CGO_ENABLED=0 GOOS=linux go build -o /app/plcwatch ./cmd/plcwatch
7FROM alpine:latest
8RUN apk --no-cache add ca-certificates
9RUN adduser -D appuser
10USER appuser
11COPY --from=builder /app/plcwatch /plcwatch
12ENTRYPOINT ["/plcwatch"]