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

add support for requirements.txt #228

Open
davidgamero opened this issue Aug 10, 2023 · 0 comments
Open

add support for requirements.txt #228

davidgamero opened this issue Aug 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@davidgamero
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Make the python dockerfile run pip install requirements.txt if the file exists at the root

we could inline it with something like [ -f "/requirements.txt" ] && pip install requirements.txt so that it only runs if the file is there

Mention what platform you want to support the new feature
oss draft

Describe the solution you'd like
when a repo is supplied to draft with a requirements.txt, it should install them

when a repo is supplied without a requirements.txt, this step should be skipped

Describe alternatives you've considered
making a new prompt or separated dockerfile for "python_with_requirements"- but this seems like extra complexity and maintenance burden when we could just add it to the one dockerfile we already have

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants