Files
compose-parser/Dockerfile
2025-11-09 14:45:22 -05:00

8 lines
221 B
Docker

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