From 8085f6878f950f4b18740ffea98b72c3800296f6 Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Thu, 16 Jan 2025 17:35:41 +0100 Subject: [PATCH] Add simple Containerfile --- Containerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..56ed864 --- /dev/null +++ b/Containerfile @@ -0,0 +1,8 @@ +FROM golang:1.23-alpine AS builder + +COPY / /src +RUN cd /src && go build ./cmd/tokidoki + +FROM scratch +COPY --from=builder /src/cmd/tokidoki/tokidoki /tokidoki +ENTRYPOINT ["/tokidoki"]