4 ms·
COPY src/requirements.txt ./ RUN pip install -r requirements.txt This has always confounded me as we always put `-e .` in our requirements.txt. Has this fa
by hartror 9y ago
COPY src/requirements.txt ./
RUN pip install -r requirements.txt
This has always confounded me as we always put `-e .` in our requirements.txt. Has this fallen out of favour? It doesn't appear the author's application needs to be installed like most pyramid or click applications do.
- thraxil 9y agoI haven't really looked at Pyramid in years (I do mostly Django). Why does it need `-e .`? In the projects I've worked on, that would be a really weird thing to do. `-e` in a requirements.txt is always a bit of a hack. If you really have to do it, it's highly recommended to pin it to a particular sha1 or tag. But I guess my bias is from spending a lot of time and effort trying to get python projects to be as close as possible to reproducible.