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/api: add Dockerfile.production #329

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

gctucker
Copy link
Contributor

@gctucker gctucker commented Aug 29, 2023

Add Dockerfile.production to build the kernelci/api Docker image for production deployment. It installs the "api" package using pip directly in the image so it's self-contained. This relies on pyproject.toml to be set up correctly.

This is an alternative to the standard Dockerfile used by docker-compose for a local deployment based directly on the source tree.

Depends on #328

@gctucker
Copy link
Contributor Author

Tested OK with the early access deployment.

Add Dockerfile.production to build the kernelci/api Docker image for
production deployment.  It installs the "api" package using pip
directly in the image so it's self-contained.  This relies on
pyproject.toml to be set up correctly.

This is an alternative to the standard Dockerfile used by
docker-compose for a local deployment based directly on the source
tree.

Signed-off-by: Guillaume Tucker <[email protected]>
@gctucker gctucker added this pull request to the merge queue Aug 31, 2023
Merged via the queue into kernelci:main with commit 0da4cc6 Aug 31, 2023
4 checks passed
@gctucker gctucker deleted the dockerfile-prod branch August 31, 2023 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant