Commit e450b8c9 authored by nimrod's avatar nimrod
Browse files

Healthcheck.

For checking the deployment.
parent d29ab745
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -134,3 +134,4 @@ RUN apt-get update && \
    rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
VOLUME /run/sshd
ENTRYPOINT ["/usr/sbin/sshd", "-D"]
HEALTHCHECK CMD nc -vzw3 localhost 22 || exit 1