From 295072a62375206832baef79b51207b3a9b445a7 Mon Sep 17 00:00:00 2001 From: Ermal Guni Date: Sun, 5 Aug 2018 15:04:31 +0200 Subject: [PATCH] no need to install deps again --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89dfd987..268c0b08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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