FROM docker.io/golang:1.23 as builder WORKDIR /app COPY ./ ./ RUN go mod download RUN go build -o director ./cmd/director FROM docker.io/alpine:3.21 WORKDIR /app COPY --from=builder /app/director . EXPOSE 8080 CMD ["./director"]