https://github.com/angular/angular
Raw File
Tip revision: cdda60a43059f6d28f5facd7c0b27b1572c87918 authored by Misko Hevery on 28 July 2020, 21:38:28 UTC
release: cut the v10.0.6 release
Tip revision: cdda60a
recommended-Dockerfile
# Image metadata and config.
FROM circleci/node:10-browsers  # Ideally, the image version should be what we use on CI.
                                # See `executors > browsers-executor` in `.circleci/config.yml`.

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` and install utilities.
RUN npm config --global set user root
RUN npm install --global yarn@latest  # Ideally, the version should be what we use on CI.
                                      # See `commands > overwrite_yarn` in `.circleci/config.yml`.


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