From 73236b405f4972ac35150b72626789852b537757 Mon Sep 17 00:00:00 2001 From: xZero707 Date: Tue, 16 Jun 2020 19:41:09 +0200 Subject: [PATCH] Declare ENV S6_BEHAVIOUR_IF_STAGE2_FAILS with value 2 This will effectively terminate supervision tree if failure should occur during stage 2 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index beea4ea..ce9b86e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,4 +47,6 @@ RUN echo "* * * * * /usr/local/bin/php /var/www/${WEB_ROOT}/wp-cron.php" >> /etc VOLUME ["/var/www/${WEB_ROOT}", "/var/www/${WEB_ROOT}/wp-content"] +ENV S6_BEHAVIOUR_IF_STAGE2_FAILS 2 + EXPOSE 80/TCP \ No newline at end of file