E
This commit is contained in:
@@ -17,4 +17,3 @@ COPY ./conf/auto_config.sh /auto_config.sh
|
||||
RUN chmod +x /auto_config.sh
|
||||
RUN mkdir -p /run/php
|
||||
ENTRYPOINT ["sh", "/auto_config.sh"]
|
||||
CMD ["/usr/sbin/php-fpm7.3", "-F"]
|
||||
@@ -6,4 +6,5 @@ wp config create --allow-root \
|
||||
--dbhost=mariadb:3306 --path='/var/www/wordpress'
|
||||
|
||||
wp core install --url=$DOMAIN_NAME --title="$WP_TITLE" --admin_user=$WP_ADMIN_USER --admin_password=$WP_ADMIN_PASSWORD --admin_email=$WP_ADMIN_EMAIL --allow-root
|
||||
wp user create $WP_NORMAL_USER $WP_NORMAL_USER_EMAIL --user_pass=$WP_NORMAL_USER_PASSWORD --role=author --allow-root
|
||||
wp user create $WP_NORMAL_USER $WP_NORMAL_USER_EMAIL --user_pass=$WP_NORMAL_USER_PASSWORD --role=author --allow-root
|
||||
./usr/sbin/php-fpm7.3 -F
|
||||
|
||||
Reference in New Issue
Block a user