Skip to content

Support customizing the base image for python apps using UV #12097

@davidfowl

Description

@davidfowl

Today we're generating a docker file using uv for the multistage build and python for the base image. We should support overriding this via annotations.

See

.From($"ghcr.io/astral-sh/uv:python{pythonVersion}-bookworm-slim", "builder")

and

.From($"python:{pythonVersion}-slim-bookworm", "app")

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-integrationsIssues pertaining to Aspire Integrations packagespython

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions