소스 검색

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