Skip to content

Docker image based on NodeJS official image with Yarn, Angular CLI, and Firebase Tools installed.

License

Notifications You must be signed in to change notification settings

jessie-ai/angular-cli-firebase-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-cli-firebase-tools

Docker image based on official NodeJS image with Angular CLI and Firebase CLI installed.

version image_pulls Build Status

Overview

This Docker image provides a ready-to-use environment for Angular development with Firebase integration. It includes:

  • Angular CLI (latest version)
  • Firebase CLI (tools for Firebase project management)
  • Mocha (testing framework)
  • Nx (build system with first-class monorepo support)
  • PNPM (fast, disk space efficient package manager)

Available Tags

The image is available in multiple Node.js versions:

  • jessieai/angular-cli-firebase-tools:latest - Based on Node.js LTS Alpine
  • jessieai/angular-cli-firebase-tools:latest-node-lts - Based on Node.js LTS Alpine
  • jessieai/angular-cli-firebase-tools:latest-node-20 - Based on Node.js 20 Alpine
  • jessieai/angular-cli-firebase-tools:latest-node-22 - Based on Node.js 22 Alpine

Version-specific tags are also available following the pattern: {version}-{node-version}[-alpine]

Usage

Pull the image

docker pull jessieai/angular-cli-firebase-tools:latest

Basic usage

# Run interactively
docker run -it --rm jessieai/angular-cli-firebase-tools:latest

# Mount your project directory
docker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest

Common use cases

Create a new Angular project

docker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest ng new my-app

Build an Angular project

docker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest ng build

Deploy to Firebase

docker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest firebase deploy

Run tests with Mocha

docker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest mocha test/

Docker Compose Example

version: '3.8'
services:
  angular-dev:
    image: jessieai/angular-cli-firebase-tools:latest
    volumes:
      - .:/app
      - node_modules:/app/node_modules
    working_dir: /app
    ports:
      - "4200:4200"
    command: ng serve --host 0.0.0.0
volumes:
  node_modules:

Features

  • Alpine Linux base for minimal image size
  • Non-root user for security (runs as node user)
  • Persistent cache volume at /home/node/.cache
  • Latest versions of all tools are installed
  • Multi-architecture support (automated builds)

Build Information

The image is automatically built and published via GitHub Actions with the following schedule:

  • On every push to the main branch
  • Daily at 3 AM UTC
  • On pull requests for testing

Source Code

The source code and Dockerfile are available on GitHub.

The build uses a single Dockerfile with build arguments to create images for different Node.js versions.

Docker Hub

The image can be pulled from Docker Hub.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the terms specified in the LICENSE file.

About

Docker image based on NodeJS official image with Yarn, Angular CLI, and Firebase Tools installed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •