diff --git a/Dockerfile b/Dockerfile index 95d2bc0..367587b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,3 @@ -FROM golang:1.23 AS builder - -WORKDIR /app - -COPY go.mod go.sum ./ -RUN go mod download - -COPY . . - -RUN CGO_ENABLED=0 go build -o content-prep . - FROM scratch - -COPY --from=builder /app/content-prep /usr/bin/content-prep - -ENTRYPOINT ["/usr/bin/content-prep"] \ No newline at end of file +ENTRYPOINT ["/content-prep"] +COPY content-prep / \ No newline at end of file