title: PHP FPM dies every request in Cloud Run
body: <p>I'm trying to run an example application in Google Cloud Run (Fully managed). Every time I send a request to the instance, I get a 503 Service unavailable. </p>
  
  <p>The logs tell me, the process is restarted every time on the same PID, so the process is dying with every request. </p>
  
  <p>Since I have a very standard image, i'm not sure if there is a mistake I made or a misunderstanding on how the things are working.</p>
  
  <p>Dockerfile</p>
  
  <pre><code>FROM php:7.4-fpm-alpine3.11
  
  RUN sed -i 's/9000/${PORT}/' /usr/local/etc/php-fpm.d/zz-docker.conf
  
  RUN mkdir /var/www/public; echo 'This page works' &gt; /var/www/public/index.php
  EXPOSE ${PORT}
  CMD ["php-fpm", "-F", "-R"]
  </code></pre>
  
  <p>Logs:
  <a href="https://i.stack.imgur.com/5Wv65.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5Wv65.png" alt="Cloud Run Logs"></a></p>