Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, I just recently heard about this project, and I love it! I was wondering how to create docker containers and read through the issue (#241) and discussion (#239). I tried out what works and what seems to be clean to me and wrote it down.
If I understood it correctly, then web apps should (usually) be virtual projects, since they (usually) don't produce a package, so the first part of the guide is a recommendation on how to deal with this case. IMHO "virtual project" isn't the most intuitive name for "doesn't produce a package", and while the documentation on it is alright, it's not very discoverable to me -- I only know about them since I clicked through all the links in the docs. But maybe it's fine to refer to them in the Docker section.
I've refrained from including any
sed /^-e/d requirements.lock
hacking; I think that would be quite brittle.I've read somewhere that the lockfile format is not final yet. Is it planned to keep it compatible to
requirements.txt
? That would influence the guide a lot.Closes #241