From 6263dc43afe1ca96400a66b8bf85ee33e79d8234 Mon Sep 17 00:00:00 2001 From: Maximilian Hafer Date: Mon, 3 Mar 2025 22:47:49 +0000 Subject: [PATCH] fix dockerfiel --- Dockerfile | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) 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