|
@@ -4,6 +4,7 @@ EXPOSE 8000
|
|
|
ADD . /opt/stats
|
|
|
|
|
|
RUN rm /opt/stats/var/cache/* -rf
|
|
|
+RUN cp /opt/stats/app/config/bundles/ik/base-admin-bundle/parameters.yml.dist /opt/stats/app/config/bundles/ik/base-admin-bundle/parameters.yml
|
|
|
|
|
|
WORKDIR /opt/stats
|
|
|
|
|
@@ -27,6 +28,7 @@ CMD eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install -
|
|
|
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/bundles/ik/base-admin-bundle/parameters.yml.dist app/config/bundles/ik/base-admin-bundle/parameters.yml ;\
|
|
|
composer dump-autoload ;\
|
|
|
composer run-script symfony-scripts --no-interaction ;\
|
|
|
bin/console server:run 0.0.0.0
|