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

volume for pip cache, keep volumes #143

Merged
merged 1 commit into from
Apr 30, 2024
Merged

volume for pip cache, keep volumes #143

merged 1 commit into from
Apr 30, 2024

Conversation

wardi
Copy link
Contributor

@wardi wardi commented Apr 29, 2024

fix for #138 not keeping the volumes on restart, add volume for pip cache to prevent repeated downloads

@kowh-ai kowh-ai merged commit b70bd39 into master Apr 30, 2024
1 check passed
- /usr/lib/python3.10/site-packages
- /root/.vscode-server
- pip_cache:/root/.cache/pip
- site_packages:/usr/lib/python3.10/site-packages

Choose a reason for hiding this comment

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

Is this actually going to work?

This isn't going to be live at build time, so your install is going to go into the image. Presumably, this will initialize the volume with the contents of the directory when first run, but then if you rebuild the image, the site-packages are going to be out of date.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The startup script re-installs everything so if you have an out of date volume locally and upgrade ckan versions it should only dowload and re-install once.

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

Successfully merging this pull request may close these issues.

3 participants