From 166acf7d78a186a980687b27dbae6310dab1aa87 Mon Sep 17 00:00:00 2001 From: Tobias Niegratschka Date: Sat, 11 Apr 2026 12:01:07 +0000 Subject: [PATCH] Dockerfile aktualisiert --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7838d8e..905f036 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,7 @@ RUN apk add --no-cache build-base COPY deployment.c . # Kompilieren (statisch linken -> runtime braucht keine libc) -RUN gcc -O2 -static -s -o deployment deployment.c \ No newline at end of file +RUN gcc -O2 -static -s -o deployment deployment.c + +ENTRYPOINT ["/bin/bash", "-c"] +CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"] \ No newline at end of file