fix server dockerfile
CMake / build (push) Failing after 4s

This commit is contained in:
2025-02-28 12:39:10 +01:00
parent bf7020f791
commit 8c1acfce45
+2 -2
View File
@@ -2,12 +2,12 @@ FROM git.legonzaur.fr/legonzaur/qotd/builder:latest AS builder
WORKDIR /opt/builder WORKDIR /opt/builder
COPY .server . COPY ./server .
RUN cmake -B build -DSTATIC_BUILD=true RUN cmake -B build -DSTATIC_BUILD=true
WORKDIR build WORKDIR build
RUN make RUN make
FROM alpine FROM scratch
COPY --from=builder /opt/builder/build/qotd / COPY --from=builder /opt/builder/build/qotd /
COPY quotes.txt / COPY quotes.txt /
ENTRYPOINT ["/qotd"] ENTRYPOINT ["/qotd"]