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 / COPY quotes.txt / ENTRYPOINT ["/qotd"]