-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: update package strategy in ui #3396
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Only one issue to address.
PS: I've seen the schema check passes now. Sorry for the hassle with it, I hope it will be more stable now 😅
RUN mkdir ui/ | ||
COPY . /opt/ui | ||
COPY . /ui | ||
|
||
# install as a package | ||
RUN pip install --upgrade pip && \ | ||
pip install /opt/ui/ | ||
pip install /ui/ | ||
|
||
WORKDIR /opt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious here, there was a specific reason to move /ui
out of /opt
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No particular reason.
I tried to clean and simplify the Dockerfile.
If it's not desirable, I can easily revert this change!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No no, that's all right 👍 I'll tag @masci just in case but I don't see an issue here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a big deal, /opt
is just a convention (albeit a very widespread one 😅)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad this new version is working! Thank you for all the work 😊
Related Issues
rest_api
andui
#3085Proposed Changes:
Similarly to #3148, I'm trying to update package strategy in ui
How did you test it?
pip install /path/to/haystack-repo/ui
Notes for the reviewer
It's just a first try. @masci @ZanSara feel free to guide me...
Checklist