mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Fixes Docker build
https://github.com/thrasher-/gocryptotrader/issues/162 Also enabled webserver so that communication can happen between the docker web and cli containers
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
FROM golang:1.9.4 as build
|
||||
FROM golang:1.10 as build
|
||||
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
WORKDIR /go/src/gocryptotrader
|
||||
COPY Gopkg.* ./
|
||||
RUN dep ensure -vendor-only
|
||||
COPY . .
|
||||
RUN dep ensure
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user