FROM golang:alpine AS builder
WORKDIR /app
COPY . .
RUN go build -o main main.go
FROM hello-world
WORKDIR /app
COPY --from=builder /app/main /app/main
CMD ["./main"]
Content type
Image
Digest
sha256:e661ce485…
Size
725.8 kB
Last updated
about 4 years ago
docker pull jjmulungo/codeeducation