jsoncrack.com icon indicating copy to clipboard operation
jsoncrack.com copied to clipboard

Optimize docker build by using caching

Open liqun98 opened this issue 2 years ago • 0 comments

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. 截屏2023-01-01 20 59 43

Other context

No response

liqun98 avatar Jan 01 '23 13:01 liqun98