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

Docker: poetry install #1791

Open
rhizoome opened this issue Jun 14, 2022 · 0 comments
Open

Docker: poetry install #1791

rhizoome opened this issue Jun 14, 2022 · 0 comments
Assignees

Comments

@rhizoome
Copy link

rhizoome commented Jun 14, 2022

In document merge service I used

RUN poetry config virtualenvs.create false \
  && poetry install $([ "$ENV" = "dev" ] || echo "--no-dev") --no-interaction --no-ansi

to install into docker. A project using the container currently expects that caluma is installed like that. This also allows to use database drivers provided by the system, instead of compiling them during install.

If we use the current way, all downstream projects have to add poetry run everywhere.

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

No branches or pull requests

4 participants