aboutsummaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
authorSam Scholten2025-12-15 19:34:17 +1000
committerSam Scholten2025-12-15 19:34:59 +1000
commit9f5978186ac3de07f4325975fecf4f538fe713b6 (patch)
tree41440b703054fe59eb561ba81d80fd60380c1f7a /Containerfile
downloadscholscan-9f5978186ac3de07f4325975fecf4f538fe713b6.tar.gz
scholscan-9f5978186ac3de07f4325975fecf4f538fe713b6.zip
Init v0.1.0
Diffstat (limited to 'Containerfile')
-rw-r--r--Containerfile11
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"]