synthetic/Dockerfile

9 lines
175 B
Docker
Raw Permalink Normal View History

2024-02-21 23:47:00 +00:00
# run go test inside a docker container for consistency as acceptance testing
FROM golang:1.21
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go test -v