title: How to fix: Apache httpd container for Docker shuts down unexpectedly (SIGTERM)
body: <p>I'm using an httpd:alpine container to deploy a website developed on Angular, without using Node (due to several restrictions in the production environment). I'm actually using <a href="https://blog.neoprime.it/ng-in-httpd/" rel="nofollow noreferrer">this amazing guide by Andreas Lorenzen</a> as a base, specially the Dockerfile specified at the end of the article.</p>
  
  <p>The problem is that, after some time of execution, the container suddenly stops without being able to restart itself. And the only information I receive from 'docker logs' is the following:</p>
  
  <pre><code>127.0.0.1 - - [29/Jul/2019:14:51:20 +0000] "GET / HTTP/1.1" 200 883
  127.0.0.1 - - [29/Jul/2019:14:51:25 +0000] "GET / HTTP/1.1" 200 883
  127.0.0.1 - - [29/Jul/2019:14:51:31 +0000] "GET / HTTP/1.1" 200 883
  127.0.0.1 - - [29/Jul/2019:14:51:37 +0000] "GET / HTTP/1.1" 200 883
  [Mon Jul 29 14:51:44.042754 2019] [mpm_event:notice] [pid 1:tid 139803211808072] AH00491: caught SIGTERM, shutting down
  </code></pre>
  
  <p>Any ideas on why is this happening? I tried to look for the Apache logs within the container, but I couldn't find any... Thank you!</p>