diff --git a/Dockerfile b/Dockerfile index e680847..bb51590 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,8 @@ RUN gcc -o deployment deployment.c # Verzeichnis für Ausgabe anlegen RUN mkdir /output +COPY --from=build-env /app/deployment /app/deployment + # Ausgabe wird ins Container-Dateisystem geschrieben ENTRYPOINT ["/bin/bash", "-c"] CMD ["./deployment 10 > /output/output.txt && tail -f /output/output.txt"] \ No newline at end of file