Skip to content

Docker changes - #27

Open
Joly0 wants to merge 2 commits into
assafelovic:masterfrom
Joly0:docker-changes
Open

Docker changes#27
Joly0 wants to merge 2 commits into
assafelovic:masterfrom
Joly0:docker-changes

Conversation

@Joly0

@Joly0 Joly0 commented Jun 26, 2026

Copy link
Copy Markdown

Main changes are covnerting the Dockerfile from a simple single stage to a dual-stage image. First stage is used to build gpt-research (if needed/wanted, added new ARG that will build the image from source, otherwise will continue to using the available package) and to build the python wheel. Second stage is for setting up the application, copying wheels, removing unneeded files, installing only curl (for the healthcheck) and running a new entrypoint script. The script allows adding additional packages that might be required for some retrievers (like here #16).

This setup will make the image smaller and faster to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant