Giter Club home page Giter Club logo

angular's Introduction

Angular CLI Development Docker Image

Build and serve your Angular application in development mode with ease, using this Docker image that comes with the Angular CLI tool and all necessary dependencies and tools.

  • tag 1.1 - Angular 15.2.8
  • tag 1.0 - Angular 14.2.10

Key Features

  • Pre-installed with the following software, libraries, and tools:
    • Ubuntu
    • Node
    • tini
    • bash
    • tslib
    • rxjs
    • zone.js
    • @angular/common
    • angular-google-charts
    • @angular-devkit/build-angular
    • @angular/animations
    • @angular/cdk
    • @angular/cli
    • @angular/compiler
    • @angular/compiler-cli
    • @angular/core
    • @angular/forms
    • @angular/material
    • @angular/platform-browser-dynamic
    • @angular/platform-browser
    • @angular/router
  • Exposes the default ng serve --watch port 4200.
  • Uses two nested volumes:
    • /app/node_modules - where the necessary modules are already installed and linked, saving you from having to create an extra node_modules folder.
    • /app - mount your local app folder here.

Getting Started

  1. Download the image using the following command:

    docker image pull asaramet/angular
  2. Start the container, publishing port 4200 to your local port of your choice (e.g. 80), and mount your local folder to the container using the -v option.

    For example, to mount the current working directory:

    docker container run --rm -p 80:4200 -v $(pwd):/app asaramet/angular

    Or, to mount the local folder /path/to/local/folder to the container's /app directory:

    docker container run --rm -p 80:4200 -v /path/to/local/folder:/app asaramet/angular
  3. To enter a running container, use these commands:

    # Get the container ID
    docker container ls -a
    
    # Start the container interactively
    docker container exec -it <CONTAINER_ID> bash 
    
    # Run build or compile commands from your 'package.json', for example:
    npm run compile

angular's People

Contributors

asaramet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.