Files
compose-parser/Dockerfile
2025-11-09 14:57:58 -05:00

9 lines
246 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 alpine:3.22.2
COPY --from=builder /app/go-parser /go-parser
ENTRYPOINT [ "/go-parser" ]