Skip to content

Commit

Permalink
Merge pull request #63 from livepeer/eli/separate-dockerfile
Browse files Browse the repository at this point in the history
Dockerfile: don't re-download on changes
  • Loading branch information
iameli committed Jul 29, 2022
2 parents 65d0b6e + b13037d commit 3f0b406
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ ARG GIT_VERSION=unknown
WORKDIR /build

ADD go.mod go.sum ./

RUN go mod download

ADD . .
ADD Makefile manifest.yaml ./
ADD cmd/downloader/ cmd/downloader/
RUN make download

RUN make
ADD . .
RUN make livepeer-log livepeer-catalyst-node

FROM ubuntu:20.04

Expand Down

0 comments on commit 3f0b406

Please sign in to comment.