We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7589360 commit 538041eCopy full SHA for 538041e
run/helloworld/Dockerfile
@@ -41,6 +41,9 @@ RUN set -ex; \
41
WORKDIR /var/www/html
42
COPY . ./
43
44
+# Ensure the webserver has permissions to execute index.php
45
+RUN chown -R www-data:www-data /var/www/html
46
+
47
# Use the PORT environment variable in Apache configuration files.
48
# https://cloud.google.com/run/docs/reference/container-contract#port
49
RUN sed -i 's/80/${PORT}/g' /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf
0 commit comments