Minor changes

This commit is contained in:
Quentin McGaw (desktop)
2020-02-22 17:07:06 +00:00
parent f5a32e690f
commit ac60cf8ab8
4 changed files with 21 additions and 19 deletions

View File

@@ -7,8 +7,8 @@ WORKDIR /tmp/gobuild
ENV CGO_ENABLED=0
COPY go.mod go.sum ./
RUN go mod download 2>&1
COPY internal/ ./internal/
COPY cmd/main.go .
COPY internal/ ./internal/
RUN go test ./...
RUN go build -ldflags="-s -w" -o entrypoint main.go