Sync Docker Container with Code
GittiHab opened this issue · comments
Pius Ladenburger commented
AS A Developer
I WANT to be able to sync my changes project files into the docker container
SO THAT I don't have to rebuild the whole image to test every small change.
This could be done either via docker cp
which simply copies the files into the container (this is not working for me on Mac) or by mounting a volume into the Docker container.
Sebastian Bischoff commented
Is the rebuilding the problem or the time the rebuilding takes?
Pius Ladenburger commented
Both – the rebuilding should, out of my perspective not be necessary. And time is always a problem.
Sebastian Bischoff commented
- That's probably correct for this repository but doesn't hold for our neo4j graph algorithm changes.
- As I said we can improve the building time by "caching" the python requirements from requirements.txt by finding some way to not use the uncachable file (in the worst case by "hardcoding" the libraries in the Dockerfile).
III. I think it has a higher priority to get the complete Docker environment up and running before improving it.
Pius Ladenburger commented