diff options
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..58f011f --- /dev/null +++ b/Containerfile @@ -0,0 +1,11 @@ +# Copy & customize: mount model.json and rss_world.txt, set --title flag as needed +FROM golang:1.25-alpine AS builder +RUN apk add --no-cache git +WORKDIR /build +RUN git clone https://your-git-repo-url/scholscan.git . +RUN go build -o scholscan . + +FROM alpine:latest +COPY --from=builder /build/scholscan /app/scholscan +WORKDIR /app +ENTRYPOINT ["/app/scholscan"] |
