Skip to content

Optimize Dockerfile for Python demo app to reduce image size #748

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

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

Conversation

dineshbodala
Copy link
Collaborator

@dineshbodala dineshbodala commented Apr 1, 2025

What this PR does / why we need it:
This PR reduces the demo Application's Docker image size from approximately 1.2 GB to 255 MB by switching to a slim base image and upgrading Python from 3.9 to 3.11, resulting in improved security and performance. All dependencies continue to work as expected, with no version mismatches in the requirements.

@dineshbodala dineshbodala force-pushed the feature/demo-application-dockerfile-optimization branch from ab4faa5 to 3cfb385 Compare April 1, 2025 04:53
@yujinkim-msft yujinkim-msft self-requested a review April 2, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants