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 81f42b1 commit bff283fCopy full SHA for bff283f
Dockerfile
@@ -68,7 +68,15 @@ RUN sed -i -e "s/^bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/my.cnf \
68
--dbname=wordpress \
69
--dbuser=wordpress \
70
--dbpass=wordpress \
71
- --dbhost=localhost
+ --dbhost=localhost \
72
+ && wp core install --allow-root \
73
+ --admin_name=admin \
74
+ --admin_password=admin \
75
+ --admin_email=admin@example.com \
76
+ --url=http://wocker.dev \
77
+ --title=WordPress \
78
+ && wp theme update --allow-root --all \
79
+ && wp plugin update --allow-root --all
80
RUN chown -R wocker:wocker /var/www/wordpress
81
82
#
0 commit comments