Skip to content

Commit 56eba3f

Browse files
committed
Disable automatic updates since they are handled by the container.
Added missing symlink for PHP.
1 parent 68ba30d commit 56eba3f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ COPY config/php.ini /etc/php84/conf.d/zzz_custom.ini
4646
# Configure supervisord
4747
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
4848

49+
RUN ln -s /usr/bin/php84 /usr/bin/php
50+
4951
# wp-content volume
5052
VOLUME /var/www/wp-content
5153
WORKDIR /var/www/wp-content

wp-config.php

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
define('WP_CONTENT_DIR', '/var/www/wp-content');
4+
define('WP_AUTO_UPDATE_CORE', false);
45

56
$table_prefix = getenv('TABLE_PREFIX') ?: 'wp_';
67

0 commit comments

Comments
 (0)