kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[REQUEST] - docker run doest do hot reload

Open Niko-La opened this issue 1 year ago • 2 comments

Reference Issues

No response

Summary

Hot reloading is currently not enabled, requiring a rerun of the docker run command each time you make changes. Enabling hot reload and providing Docker Compose build instructions would streamline the development process.

Basic Example

To enable hot reload, configure the Gradio server in app.py.

Drawbacks

None specified

Additional Information

No response

Niko-La avatar Sep 02 '24 09:09 Niko-La

another solution can be to provide docker-compose.yml file and mounting the project folder as volume. this could allow changes to to the webapp to be reflect via hot reload

Niko-La avatar Sep 04 '24 04:09 Niko-La

Thank @Niko-La for your advice. We will consider adding it. In the mean time you can take a look at this PR https://github.com/Cinnamon/kotaemon/pull/165 which has already provided the docker-compose

phv2312 avatar Sep 04 '24 08:09 phv2312