Skip to content

Make Docker image much smaller#9

Open
bodiroga wants to merge 3 commits intomasterfrom
small-docker-image
Open

Make Docker image much smaller#9
bodiroga wants to merge 3 commits intomasterfrom
small-docker-image

Conversation

@bodiroga
Copy link
Collaborator

@bodiroga bodiroga commented Aug 16, 2024

The new image is built with the following properties:

  • It is based on the official python:alpine image
  • The Dockerfile is multistaged to only include the necessary files

As such, the image size went from 510MB to 65MB.

Signed-off-by: Aitor Iturrioz aiturrioz@tknika.eus

The new image is built with the following properties:
- It is based on the official python:alpine image
- The Dockerfile is multistaged

Signed-off-by: Aitor Iturrioz <aiturrioz@tknika.eus>
@bodiroga bodiroga requested a review from aitorcas23 August 16, 2024 01:57
Signed-off-by: Aitor Iturrioz <aiturrioz@tknika.eus>
Signed-off-by: Aitor Iturrioz <aiturrioz@tknika.eus>
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.

1 participant