this repo has no description
1FROM golang:latest AS builder
2
3WORKDIR /app
4
5COPY . .
6RUN go mod download
7COPY . .
8
9RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -a -installsuffix cgo -o tangled-alert-bot ./cmd/.
10
11FROM alpine:latest
12
13RUN apk --no-cache add ca-certificates
14
15WORKDIR /root/
16COPY --from=builder /app/tangled-alert-bot .
17
18CMD ["./tangled-alert-bot"]