Skip to content

How to add a new pip package to the project ? #4084

Discussion options

You must be logged in to vote

I'm actually copying the version of the package and pasting into the base requirements file and building the local.yaml contener again and it's seams to be rebuilding the entire containers in the project instead of building only the container that changes has been detected

You mention that in StackOverflow, and that's pretty much the workflow, yes:

  1. Add dependency to the relevant requiremnts file (base.txt, local.txt or production.txt)
  2. Rebuild the relevant docker images
  3. Restart the containers

I don't think there is any way around it, it's how Docker works.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nelsonmandeladev
Comment options

Answer selected by luzfcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #4083 on January 17, 2023 13:22.