diff --git a/templates/cowrie/Dockerfile b/templates/cowrie/Dockerfile index 6e011ea..9e7ce84 100644 --- a/templates/cowrie/Dockerfile +++ b/templates/cowrie/Dockerfile @@ -12,6 +12,9 @@ RUN useradd -r -s /bin/false -d /opt decnet \ && rm -rf /var/lib/apt/lists/* \ && (find /usr/bin/ -maxdepth 1 -name 'python3*' -type f -exec setcap 'cap_net_bind_service+eip' {} \; 2>/dev/null || true) +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh + HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ CMD kill -0 1 || exit 1