Files
qotd/Dockerfile
T
legonzaur bfd1f305e8
CMake / build (push) Failing after 35s
Add dockerfile
2025-02-28 11:15:37 +01:00

12 lines
237 B
Docker

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