Add command updating WP database to docker-entrypoint.sh

[MAILPOET-6159]
This commit is contained in:
Jan Lysý
2024-08-01 11:33:55 +02:00
committed by Rostislav Wolný
parent f86687ae1c
commit 4e8b7b7f34

View File

@ -50,6 +50,7 @@ fi
if [[ $WORDPRESS_VERSION != "" ]]; then
echo "Installing WordPress version: $WORDPRESS_VERSION"
wp core update --version=$WORDPRESS_VERSION
wp core update-db
fi
echo "WORDPRESS VERSION:"
wp core version