mirror of
https://github.com/zooai/evm-old.git
synced 2026-10-30 14:50:00 +00:00
12 lines
341 B
Docker
12 lines
341 B
Docker
FROM golang:1.26.1-bookworm AS builder
|
|
WORKDIR /build
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
COPY . .
|
|
RUN CGO_ENABLED=0 go build -o zoo-evm .
|
|
|
|
FROM debian:bookworm-slim
|
|
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
|
|
COPY --from=builder /build/zoo-evm /usr/local/bin/zoo-evm
|
|
ENTRYPOINT ["zoo-evm"]
|