We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f20e01 commit 1f3e21aCopy full SHA for 1f3e21a
1 file changed
frankenphp/Dockerfile
@@ -48,4 +48,9 @@ RUN set -eux; \
48
echo "\$settings['trusted_host_patterns'] = ['^' . preg_quote(\$_SERVER['SERVER_NAME'] ?? 'localhost', '/') . '\$'];" >> /opt/drupal/web/sites/default/default.settings.php; \
49
cp /opt/drupal/web/sites/default/default.settings.php /opt/drupal/web/sites/default/settings.php
50
51
-ENV PATH=${PATH}:/opt/drupal/vendor/bin
+# preemptively creates log files, and give them to www-data
52
+RUN cd /var/log \
53
+ && touch php_error.log xdebug.log \
54
+ && chown 1001:1001 php_error.log xdebug.log
55
+
56
+ENV PATH=${PATH}:/opt/drupal/vendor/bin
0 commit comments