Apache, PHP and Node.js for Google Cloud Run
2.9K
This container has been created for Google Cloud Run fully managed:
Created from bitnami/minideb and overloaded with:
Create the file /entrypoint-extra.sh and add in it the extra startup commands to be executed.
They will be executed before starting Apache.
Refer to Cloud Run documentation for deploying to Google Cloud Run.
FROM nicolabello/apache-php-node-for-cloud-run
# Add vhost
COPY ./app-name-vhost.conf /vhosts/
# Copy app
COPY ./dist/ /apps/app-name/
<VirtualHost *:8080>
DocumentRoot "/apps/app-name"
# Enable PHP-FPM
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/apps/app-name/$1
# Enable ModSecurity
SecRuleEngine On
</VirtualHost>
Licensed under the terms of GNU General Public License Version 2 or later.
Content type
Image
Digest
Size
121.3 MB
Last updated
over 5 years ago
docker pull nicolabello/apache-php-nodejs-for-cloud-run