Files
compose-parser/Dockerfile

9 lines
243 B
Docker

FROM golang:alpine3.22 AS builder
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-parser main.go
# FROM golang:alpine3.22
FROM alpine3.22
COPY --from=builder /app/go-parser /go-parser
ENTRYPOINT [ "/go-parser" ]