Add simple Containerfile

This commit is contained in:
Conrad Hoffmann 2025-01-16 17:35:41 +01:00
parent 63f78d99e1
commit 8085f6878f

8
Containerfile Normal file
View file

@ -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"]