Docker WordPress installation method
It's very simple.\ Write a Dockerfile. FROM wordpress:5 php8.0 apache Then, enter the Docker bash shell. Enter this to copy the WordPress files. Then, to grant
GGAMI
It's very simple.
Write a Dockerfile.
FROM wordpress:5-php8.0-apache
Then, enter the Docker bash shell.
cp -r /usr/src/wordpress/* /var/www/htmlEnter this to copy the WordPress files.
Then, to grant permissions...
chown -R www-data:www-data /var/www/htmlEnter this.
Visit the address and set it up.
Done!
wp-config.php