Files
compose-parser/Dockerfile

10 lines
264 B
Docker
Raw Normal View History

2025-11-09 14:45:22 -05:00
FROM golang:alpine3.22 AS builder
2025-11-09 14:37:14 -05:00
WORKDIR /app
2025-11-09 14:34:34 -05:00
COPY . .
2025-11-09 14:52:34 -05:00
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o go-parser main.go
2025-11-09 14:15:50 -05:00
2025-11-09 14:52:34 -05:00
# FROM golang:alpine3.22
FROM alpine3.22
2025-11-09 14:55:06 -05:00
RUN echo "fuckt his"
2025-11-09 14:52:34 -05:00
COPY --from=builder /app/go-parser /go-parser
ENTRYPOINT [ "/go-parser" ]