eth-blob-indexer/Dockerfile
Roy Crihfield 3d8d84df86 Initial service
Dockerfile & compose file

CI workflow
2024-05-30 13:24:45 +08:00

16 lines
271 B
Docker

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"]