This repository has been archived on 2025-07-14. You can view files and clone it, but cannot push or open issues or pull requests.
2b2t-queue-tracker/Dockerfile
2025-06-29 11:20:23 +02:00

9 lines
246 B
Docker

FROM docker.io/golang:1.24.2 AS builder
WORKDIR /src
COPY . ./
RUN CGO_ENABLED=1 go build -tags "sqlite_math_functions" -o /bin/2b2t .
FROM docker.io/debian:latest AS runner
WORKDIR /run
COPY --from=builder /bin/2b2t /bin/2b2t
CMD ["/bin/2b2t"]