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

10 lines
275 B
Docker

# FROM registry.jakeyoungdev.com/go/alpine:1.25.3 AS builder
FROM golang:alpine3.22 AS builder
WORKDIR /app
COPY . .
RUN go mod download && \
go build -o /app/parser main.go
FROM golang:alpine3.22
COPY --from=builder /app/parser /run/parser
ENTRYPOINT [ "./run/parser" ]