mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
build: update dev container configuration build: update dev container configuration Update dev container configuration files to support latest environment. - Use customizations.vscode structure instead of deprecated extensions property. - Update bazel extension to BazelBuild.vscode-bazel. - Ignore .pnpm-store directory. - Update ports list - Use forwardPorts instead appPort Document the usage of Dev Containers in building-and-testing-angular.md.
16 lines
491 B
Text
16 lines
491 B
Text
# Image metadata and config.
|
|
# Ideally, the Node.js version should match what we use on CI.
|
|
FROM cimg/node:22.21.1-browsers@sha256:eee8ed828d5a54196456a86ac6872c43325acad54e59632261e23b486c458992
|
|
|
|
LABEL name="Angular dev environment" \
|
|
description="This image can be used to create a dev environment for building Angular." \
|
|
vendor="angular" \
|
|
version="1.0"
|
|
|
|
EXPOSE 4200 4201 4205 4206 9876
|
|
|
|
# Switch to `root`.
|
|
USER root
|
|
|
|
# Go! (And keep going.)
|
|
CMD ["tail", "--follow", "/dev/null"]
|