浏览代码

Add wp-cli.yml for the .htaccess generation to work

Girish Ramakrishnan 8 年之前
父节点
当前提交
ab4c717eb5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -13,6 +13,8 @@ RUN mkdir -p /run/wordpress/sessions && \
 
 RUN curl -L -o /app/code/wp https://github.com/wp-cli/wp-cli/releases/download/v0.24.1/wp-cli-0.24.1.phar
 RUN chmod +x /app/code/wp
+RUN echo -e "apache_modules:\n  - mod_rewrite" > /app/code/wp-cli.yml
+
 
 # Get the plugins
 RUN curl -L -o /app/code/authLdap.zip https://github.com/heiglandreas/authLdap/archive/1.4.19.zip