docker run -v $HOME/.cache/pip-docker/:/root/.cache/pip image_1
from : https://stackoverflow.com/questions/25305788/how-to-avoid-reinstalling-packages-when-building-docker-image-for-python-project
import os, re path = "/proc/self/cgroup" def is_docker (): if not os.path.isfile(path): return False with open (pa...
No comments:
Post a Comment