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

refactor: Optimize Dockerfile for smaller, sustainable images #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

itmagix
Copy link
Contributor

@itmagix itmagix commented Jul 28, 2023

Summary:

  • Optimize dependencies installation order
  • Utilize multi-stage builds
  • Remove unnecessary files and packages

Details:

  • Rearrange Dockerfile to install essential dependencies first, reducing layers and image size.
  • Implement multi-stage builds to create a separate build environment and reduce the final image size.

Fixes #19

Summary:
- Optimize dependencies installation order
- Utilize multi-stage builds
- Remove unnecessary files and packages

Details:
- Rearrange Dockerfile to install essential dependencies first, reducing
  layers and image size.
- Implement multi-stage builds to create a separate build environment
  and reduce the final image size.

Fixes Accenture#19
@alicehaupais alicehaupais self-requested a review July 28, 2023 14:34
@alicehaupais
Copy link
Contributor

Hello Maikel,
Launching an analysis using the library Puppeteer is failing with your PR.
image

Find here the troubleshooting page of Puppeteer : https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

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

Successfully merging this pull request may close these issues.

[REFACTOR] Dockerfile to produce a leaner and more sustainable image
2 participants