resolve bug wp-cli.phar
This commit is contained in:
@@ -46,9 +46,11 @@ RUN adduser -S www-data && \
|
||||
ENV PHP_VERSION="php-fpm7"
|
||||
|
||||
# install wp-cli : https://wp-cli.org/#installing
|
||||
# bug with wp commands : https://github.com/wp-cli/config-command/issues/31
|
||||
# change : mv wp-cli.phar /usr/local/bin/wp -> cp wp-cli.phar /usr/local/bin/wp
|
||||
RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar &&\
|
||||
chmod +x wp-cli.phar && \
|
||||
mv wp-cli.phar /usr/local/bin/wp
|
||||
cp wp-cli.phar /usr/local/bin/wp
|
||||
|
||||
COPY ./conf/wp_entrypoint.sh ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user