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

Build Docker image using multi-stage builds feature #175

Closed
1 task
dortegau opened this issue Apr 11, 2020 · 0 comments
Closed
1 task

Build Docker image using multi-stage builds feature #175

dortegau opened this issue Apr 11, 2020 · 0 comments
Assignees

Comments

@dortegau
Copy link
Member

Prerequisites

Description

Currently prom2teams source code is stored under /opt/prom2teams directory. As the command python setup.py install builds the app and then installs all modules in one run, could be desirable to create an stage to build the app from source, creating a standard Wheel file and then use other stage to copy that file and execute it, in order to reduce container complexity and current image size.

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

No branches or pull requests

2 participants