forked from freudenreichan/EinfuehrungInDocker_Pipeline2
This commit is contained in:
parent
2b85e26179
commit
6f34e1354c
@ -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"]
|
||||
Loading…
x
Reference in New Issue
Block a user