no need to install deps again

This commit is contained in:
Ermal Guni
2018-08-05 15:04:31 +02:00
committed by GitHub
parent c63f1b0ff6
commit 295072a623

View File

@@ -5,8 +5,8 @@ COPY Gopkg.* ./
RUN dep ensure -vendor-only
COPY . .
RUN mv -vn config_example.json config.json \
&& GOARCH=386 GOOS=linux CGO_ENABLED=0 go install -v \
&& mv /go/bin/linux_386 /go/bin/gocryptotrader
&& GOARCH=386 GOOS=linux CGO_ENABLED=0 go build . \
&& mv gocryptotrader /go/bin/gocryptotrader
FROM alpine:latest
RUN apk update && apk add --no-cache ca-certificates