Skip to content

Fix venv being created in Dockerfile#69

Merged
MarkKoz merged 3 commits into
masterfrom
bug/ci/66/pipenv-run-creates-venv
Mar 24, 2020
Merged

Fix venv being created in Dockerfile#69
MarkKoz merged 3 commits into
masterfrom
bug/ci/66/pipenv-run-creates-venv

Conversation

@MarkKoz
Copy link
Copy Markdown
Contributor

@MarkKoz MarkKoz commented Mar 23, 2020

Fixes #66

pipenv run creates a venv because it cannot detect that a --system install was done. The solution is to invoke gunicorn directly. To avoid specifying config options in both the Dockerfile and the Pipfile, a config file for gunicorn was created.

MarkKoz added 3 commits March 23, 2020 10:32
There will be more config files to come so it's cleaner to have them
together than littering the root directory with more files.
This will make it easy to maintain a consistent config without relying
on invocation via pipenv.
`pipenv run` creates a venv because it cannot detect that a --system
install was done. The solution is to invoke gunicorn directly.
@MarkKoz MarkKoz added type: bug Something isn't working status: needs review Author is waiting for someone to review and approve area: CI Related to continuous intergration and deployment priority: 2 - normal labels Mar 23, 2020
@MarkKoz MarkKoz requested a review from a team as a code owner March 23, 2020 17:48
@MarkKoz MarkKoz requested review from MrHemlock and jerbob March 23, 2020 17:48
Copy link
Copy Markdown

@jerbob jerbob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MarkKoz MarkKoz merged commit 2ebea7e into master Mar 24, 2020
@MarkKoz MarkKoz deleted the bug/ci/66/pipenv-run-creates-venv branch March 24, 2020 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: CI Related to continuous intergration and deployment priority: 2 - normal status: needs review Author is waiting for someone to review and approve type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Main Docker image creates a venv because pipenv run is used

2 participants