Discussion for improvement plugin development on docker
Opened this issue · 5 comments
kczereczon commented
I found development plugin on docker with process described in description is very slow. Is there any possibility how to speed up development. Building site inside docker takes ~30 min on pc with bad performance. If you have an idea how to make it faster I would try to make implementation of it.
My current attempt:
- Create docker-compose with custom dockerfile with needed libraries for running espo (php and node)
- Using commands described in description
What I want to try:
- Create new docker image like https://github.com/espocrm/espocrm-docker but instead of containing built Espo it would contain full Espo from github with all dev needed stuff (npm build dev)
- Create docker-compose with mapping src to custom/Module and client/custom/module
yurikuzn commented
I don't know about any possibility. It usually needed only once to built. It takes a few minutes, my PC is 10 year old.
kczereczon commented
on docker also?
yurikuzn commented
No.
kczereczon commented
Without docker site is building quite fast but on docker it really painful, same with node build.js --copy
yurikuzn commented
Maybe you need to tweak something. Copying files should not take that long.