OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Feat: Divided docker layer to make it easier to cache

Open tofarr opened this issue 1 year ago • 0 comments

**Divided and Reordered and Docker layer for better cachability. **

  • [X] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

We do a lot in that single layer at the end of the Docker Install. This PR splits that into 2 layers, and moves some of the installs around so that they occur before we copy the code. This effectively means that the install of playwright and chromium and the apt-get can be cached by docker when in development mode, meaning that updates due to changing code should be that bit faster.

Testing

Aside from the tests passing, I tested the Web browsing capability specifically... image image

tofarr avatar Oct 10 '24 02:10 tofarr