https://github.com/angular/angular
Raw File
Tip revision: a114ebad7e8f2a3074ef13d0f010920f9da2bcf2 authored by Alex Rickabaugh on 12 June 2024, 23:24:00 UTC
release: cut the v18.1.0-next.2 release
Tip revision: a114eba
recommended-Dockerfile
# Image metadata and config.
# Ideally, the Node.js version should match what we use on CI.
# See `executors > default-executor` in `.circleci/config.yml`.
FROM cimg/node:18.13.0@sha256:45d0ee279f522c4562a464df71108104cc9b2187205333ffd0707d4f05589731


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 4000 4200 4433 5000 8080 9876


# Switch to `root` (CircleCI images use `circleci` as the user).
USER root


# Configure `Node.js`/`npm`.
RUN npm config --global set user root


# Go! (And keep going.)
CMD ["tail", "--follow", "/dev/null"]
back to top