Browse Source

Run tests before build

master
Jan-Lukas Else 1 year ago
parent
commit
2f9eede975
  1. 2
      Dockerfile

2
Dockerfile

@ -1,6 +1,8 @@
FROM golang:1.14-alpine as build
RUN apk add --no-cache gcc musl-dev tzdata
ADD . /app
WORKDIR /app
RUN go test
RUN go build
FROM alpine:3.11

Loading…
Cancel
Save