Files
compose-parser/Dockerfile
2025-11-09 14:48:36 -05:00

8 lines
225 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 /usr/loca/bin/parser
ENTRYPOINT [ "parser" ]