wordpress/rootfs/usr/local/bin/wp

4 lines
91 B
Bash

#!/usr/bin/env bash
/usr/local/bin/wp-cli --allow-root --path="/var/www/${WEB_ROOT}" "$@"