Skip to content

Conversation

@luisrosales852
Copy link

Moved download model logic (the .sh) to docker folder, updated docker configuration and gitignore. should work

@luisrosales852 luisrosales852 requested a review from a team as a code owner December 1, 2025 21:07
Copy link
Contributor

@GilMM27 GilMM27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please test and add the missing changes ;)

Copy link
Contributor

@GilMM27 GilMM27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before approving please submit evidence this was tested


# Download model and Modelfile to the directory where this script is located
SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
SCRIPT_DIR="$(cd "$(dirname "$0")/../../../hri/packages/nlp/assets" && pwd)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: in my opinion it would be simpler to just write the relative path

network_mode: host
volumes:
- ../../../hri/packages/nlp/assets:/ollama
- ../scripts/ollama:/scripts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whats the better call here, if just copying the file (like in the dockerfile of display) or creating this volume. I'll let you decide

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.

3 participants