This issue aims to refactor the current Dockerfile to use a multistage build approach. The motivation for this change is to:
- Reduce final image size by excluding unnecessary build-time dependencies (e.g., gcc, libpython3-dev, etc.)
- Enhance maintainability by clearly separating build and runtime concerns