microsoft / microsoft/aspire

Consider generated .dockerignore support for AddNodeApp Dockerfiles

Open
#17,440 1 comment 0 reactions 0 assignees View on GitHub
area-integrations triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

AddBunApp now emits generated .dockerignore content via BuildKit's per-Dockerfile convention so generated Dockerfiles can safely use COPY . . without pulling local node_modules, .git, dotenv files, or other local artifacts into the build context.\n\nAddNodeApp's generated Dockerfile also copies the app source from the build context and may benefit from the same default BuildContextIgnoreContent behavior for parity. This should be evaluated separately because Node apps may have established expectations around existing Dockerfile generation and package-manager workflows.\n\nFollow-up from PR #17416.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.