Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
ENTRYPOINT ["/content-prep"]
COPY content-prep /