blob: e0479797dcc358ec846aef7d66bf5e344343dfcb (
plain)
1
2
3
4
5
6
7
8
9
10
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 git@git.samsci.com:public/scholscan.git .
RUN go build -o scholscan .
FROM alpine:latest
COPY --from=builder /build/scholscan /app/scholscan
WORKDIR /app
ENTRYPOINT ["/app/scholscan"]
|