Skip to content

[New article]: Add docs for PublishWithContainerFiles #5351

@eerhardt

Description

@eerhardt

Proposed topic or title

PublishWithContainerFiles

Location in table of contents.

No response

Reason for the article

With dotnet/aspire#12265 we are adding support for PublishWithContainerFiles which allows backend resources to copy static files from frontend resources.

Generally, a resource can build a "build only" docker image, and advertise that it has files that can be copied out of that image. Then another resource can use those files and copy them into their resulting docker image.

Article abstract

Frontend Javascript resources can produce static files during deploy and other resources can copy those files into their produced docker image.

This allows python backends to serve javascript frontend static files.

Relevant searches

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri1High priority, do before Pri2 and Pri3area-docsdoc-ideaIndicates issues that are suggestions for new topics [org][type][category]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions