blk/Dockerfile.test
2024-08-11 04:52:08 +03:00

16 lines
233 B
Docker

FROM golang:alpine AS builder
LABEL stage=gobuilder
ENV CGO_ENABLED 0
RUN apk update --no-cache && apk add --no-cache tzdata
WORKDIR /test
ADD go.mod .
ADD go.sum .
RUN go mod download
COPY . .
CMD ["go", "test", "-v", "./..."]