mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
no need to install deps again
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user