This pull request updates the Dockerfile for the project to use Alpine Linux instead of Debian Buster as the base image. The Alpine Linux image is smaller and more lightweight, which can result in faster build times and a smaller final image size.
The updated Dockerfile also simplifies the build process by combining the python-deps and runtime stages into a single stage.
Summary of Changes
This pull request updates the Dockerfile for the project to use Alpine Linux instead of Debian Buster as the base image. The Alpine Linux image is smaller and more lightweight, which can result in faster build times and a smaller final image size.
The updated Dockerfile also simplifies the build process by combining the
python-deps
andruntime
stages into a single stage.Additional context
Image size before:
151MB
Image size after:80.7MB
How to download the PR for testing
Using GitHub CLI
gh pr checkout 124
(Requires GitHub CLI)Using regular GIT
git fetch origin pull/<PR_NUMBER>/head:<LOCAL_BRANCH_NAME>
(e.g.git fetch origin pull/110/head:notif
)git checkout <LOCAL_BRANCH_NAME>
(e.g.git checkout notif
)