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