eth-blob-indexer/Dockerfile

16 lines
271 B
Docker
Raw Normal View History

FROM golang:1.22-alpine as builder
WORKDIR /eth-blob-indexer
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o eth-blob-indexer .
FROM alpine
WORKDIR /app
COPY --from=builder /eth-blob-indexer/eth-blob-indexer .
ENTRYPOINT ["/app/eth-blob-indexer"]