forked from freudenreichan/EinfuehrungInDocker_Pipeline2
This commit is contained in:
parent
1e9be72276
commit
8ce76dd289
@ -35,6 +35,10 @@ VOLUME ["/output"]
|
|||||||
# nicht als root laufen
|
# nicht als root laufen
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
|
#update
|
||||||
|
sudo apt update && sudo apt upgrade -y
|
||||||
|
|
||||||
|
|
||||||
# Healthcheck
|
# Healthcheck
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||||
CMD test -s /output/output.txt || exit 1
|
CMD test -s /output/output.txt || exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user