FROM golang:1.24.4 AS builder WORKDIR /app COPY . . RUN go mod tidy && go build -o bot main.go FROM debian:bookworm-slim WORKDIR /app RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates COPY --from=builder /app/bot . CMD ["./bot"]