jsoncrack.com
jsoncrack.com copied to clipboard
Optimize docker build by using caching
Feature
I'm always use docker as my develop environment. Every time I change the source code, it causes yarn install to rerun which is unnecessary. I think we can run yarn install before copying the directory, so that the caching can be used unless we change the package.json.
Alternative solutions or implementations
Run yarn install before copying the directory.
Other context
No response