# Test Dockerfile FROM golang:1.21-alpine AS tester WORKDIR /app # Install dependencies RUN apk add --no-cache curl bc jq # Copy go mod files COPY go.mod go.sum ./ RUN go mod download # Copy source and tests COPY . ./ # Run tests CMD ["sh", "tests/run_tests.sh"]