|
@@ -22,13 +22,13 @@ RUN cp -r keys /opt/keys/
|
|
|
RUN chmod 0600 /opt/keys/*
|
|
|
|
|
|
RUN eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install --no-scripts --no-interaction
|
|
|
-
|
|
|
+RUN 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
|
|
|
+
|
|
|
CMD eval $(ssh-agent) ; ssh-add /opt/keys/bitbucket.id_rsa ; composer install --no-scripts --no-interaction ;\
|
|
|
rm var/cache/* -rf ;\
|
|
|
- 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 post-install-cmd --no-interaction ;\
|
|
|
bin/console server:run 0.0.0.0
|