Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Commit 6b5367d

Browse files
committed
Cleanup of the node source when building
1 parent 6d28f97 commit 6b5367d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM golang:1.10-alpine
22

3-
WORKDIR /go/src/app
4-
ADD chainlink/ .
5-
63
RUN apk add --no-cache gcc musl-dev git openssl bzr \
74
&& go get -u github.com/golang/dep/cmd/dep
85

96
RUN go get -u github.com/smartcontractkit/chainlink
107

8+
WORKDIR /go/src/github.com/smartcontractkit/chainlink
119
RUN dep ensure
12-
RUN go build -o chainlink
10+
RUN go build -o /bin/chainlink
11+
12+
RUN rm -rf /go/src
1313

1414
CMD ["chainlink", "node"]

0 commit comments

Comments
 (0)