Skip to content
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

Add shell instruction to serving Dockerfiles #1104

Merged
merged 8 commits into from
Jun 2, 2020

Conversation

RobertLucian
Copy link
Member

@RobertLucian RobertLucian commented Jun 1, 2020

Coming as an improvement to #1086 (comment). Closes #1086.

Instead of having to run RUN /bin/bash -c "pip install ..." for a custom image based on any of Cortex's base serving images or inside dependencies.sh, the user now only has to add RUN pip install ....

Also, clarify the docs about pip/conda installations for extended Dockerfiles.


checklist:

  • run make test and make lint
  • manually test Python/TensorFlow/ONNX deployments.
  • update docs and add any new files to summary.md (view in gitbook after merging)

Copy link
Member

@deliahu deliahu left a comment

Choose a reason for hiding this comment

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

This is great, thank you for improving this!

@RobertLucian RobertLucian requested a review from deliahu June 2, 2020 15:09
@deliahu
Copy link
Member

deliahu commented Jun 2, 2020

Looks great, thanks!

@RobertLucian RobertLucian merged commit 3d39123 into master Jun 2, 2020
@RobertLucian RobertLucian deleted the improvement/pip-install branch June 2, 2020 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improve code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid installing Python packages on each Cortex deploy
2 participants