Skip to content

Commit

Permalink
back to /node
Browse files Browse the repository at this point in the history
  • Loading branch information
okedeji committed Aug 2, 2024
1 parent 43fb532 commit 22952e0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM golang:alpine

WORKDIR /
WORKDIR /node

COPY . /node
COPY go.mod go.sum ./

RUN go mod download

RUN go build -o /node/allora_offchain_node
COPY . .

CMD ["/node/allora_offchain_node"]
RUN go build -o allora_offchain_node

CMD ["./allora_offchain_node"]

0 comments on commit 22952e0

Please sign in to comment.