Add dockerfile
CMake / build (push) Failing after 35s

This commit is contained in:
2025-02-28 11:15:37 +01:00
parent 9ea6089327
commit bfd1f305e8
5 changed files with 26 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM git.legonzaur.fr/legonzaur/qotd/builder:latest AS builder
WORKDIR /opt/builder
COPY . .
RUN cmake -B build -DSTATIC_BUILD=true
WORKDIR build
RUN make
FROM alpine
COPY --from=builder /opt/builder/build/qotd /
ENTRYPOINT ["/qotd"]