Apply CodeRefactor manual fixes

This commit is contained in:
simon987
2019-03-09 14:16:14 -05:00
parent be9bcc087a
commit f50df4226d
17 changed files with 51 additions and 58 deletions

View File

@@ -1,12 +1,12 @@
# Build
FROM golang:latest as go_build
FROM golang:1.11.5 as go_build
WORKDIR /go/src/github.com/simon987/task_tracker/
COPY . .
RUN go get ./main/ && GOOS=linux CGO_ENABLED=0 go build -a -installsuffix cgo -o tt_api ./main/
# Execute in alpine
FROM alpine:latest
FROM alpine:3.9.2
WORKDIR /root
COPY --from=go_build ["/go/src/github.com/simon987/task_tracker/tt_api",\