Docker image based on official NodeJS image with Angular CLI and Firebase CLI installed.
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)
The image is available in multiple Node.js versions:
jessieai/angular-cli-firebase-tools:latest- Based on Node.js LTS Alpinejessieai/angular-cli-firebase-tools:latest-node-lts- Based on Node.js LTS Alpinejessieai/angular-cli-firebase-tools:latest-node-20- Based on Node.js 20 Alpinejessieai/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]
docker pull jessieai/angular-cli-firebase-tools:latest# 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:latestdocker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest ng new my-appdocker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest ng builddocker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest firebase deploydocker run -it --rm -v $(pwd):/app -w /app jessieai/angular-cli-firebase-tools:latest mocha test/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:- Alpine Linux base for minimal image size
- Non-root user for security (runs as
nodeuser) - Persistent cache volume at
/home/node/.cache - Latest versions of all tools are installed
- Multi-architecture support (automated builds)
The image is automatically built and published via GitHub Actions with the following schedule:
- On every push to the
mainbranch - Daily at 3 AM UTC
- On pull requests for testing
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.
The image can be pulled from Docker Hub.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the terms specified in the LICENSE file.