Currently test container is running on the same volume as staging container with a read-write permission.
This can cause trouble if the developer accidentally/on-purpose tries to change the source code from test script.
- We can set read-only option on mounted volume on test container but I think it would prevent the application from working (e.g. Cannot create cache/logs).
- Another solution would be to copy all of the source code on a temporary directory which causes a very slow performance on big codebases (> 1GB).