Re:Docker, Django, Traefik, and IntercoolerJS: My go-to stac...
by viraptor on Sunday January 31, 2021 @05:17AM
(#25977694)
> 2) Tests taking 3:30 min to run with docker vs 30 secs without.
This is not a problem with docker, but your environment. Tests should run at the same speed and initial time with or without docker (with an exception for changes that update dependency list - that will take the time for the initial build).
Things to check: Are you installing dependencies before adding the app? For development are you mounting the app instead of building a new image each time?
This is not a problem with docker, but your environment. Tests should run at the same speed and initial time with or without docker (with an exception for changes that update dependency list - that will take the time for the initial build).
Things to check: Are you installing dependencies before adding the app? For development are you mounting the app instead of building a new image each time?