瀏覽代碼

Copy parameters.

Gabriel Gosparo 6 年之前
父節點
當前提交
d5aabf861a
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      Dockerfile

+ 4 - 3
Dockerfile

@@ -11,10 +11,11 @@ RUN chmod 0600 /opt/keys/*; \
            app/config/bundles/hwi/oauth-bundle/parameters.yml \ 
            app/config/bundles/ik/webservice-bundle/parameters.yml; \
     composer install --no-scripts --no-interaction; \
-    cp app/config/parameters.yml.docker app/config/parameters.yml ;\
-    cp app/config/bundles/hwi/oauth-bundle/parameters.yml.docker app/config/bundles/hwi/oauth-bundle/parameters.yml ;\
-    cp app/config/bundles/ik/webservice-bundle/parameters.yml.docker app/config/bundles/ik/webservice-bundle/parameters.yml ;\
+    cp app/config/parameters.yml.dist app/config/parameters.yml ;\
+    cp app/config/bundles/hwi/oauth-bundle/parameters.yml.dist app/config/bundles/hwi/oauth-bundle/parameters.yml ;\
+    cp app/config/bundles/ik/webservice-bundle/parameters.yml.dist app/config/bundles/ik/webservice-bundle/parameters.yml ;\
     cp app/config/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml; \
+    cp app/config/bundles/ik/audit-bundle/parameters.yml.dist ./app/config/bundles/ik/audit-bundle/parameters.yml; \
     apt-get update && apt-get install -yq gdal-bin; \
     mkdir -p /run/php; \
     sed -i 's#listen = /run/php/php7.0-fpm.sock#listen = /run/php/stats.sock#g' /etc/php/7.0/fpm/pool.d/www.conf; \