A simple Node.js application containerized with Docker and automated using Makefile commands.
This repository serves as a hands-on DevOps learning project demonstrating:
- Docker containerization
- Makefile automation
- Git version control
- Application deployment workflows
devops-lab/ ├── app.js ├── Dockerfile ├── Makefile └── README.md
---
## Technologies Used
- Node.js
- Docker
- Make
- Git
- GitHub
- Linux
---
## Prerequisites
Before running this project, ensure you have:
- Docker installed
- Git installed
- Make installed
Verify installations:
```bash
docker --version
git --version
make --version
docker build -t devops-lab .Expected output:
Successfully tagged devops-hello:latest
docker run --rm devops-helloExpected output:
Hello, DevOps!
Build the image:
make buildRun the container:
make runClean up resources:
make cleanAvailable commands may vary depending on your Makefile configuration.
Stage changes:
- git add .
Commit changes:
- git commit -m "feat: bump to v2"
View commit history:
- git log --oneline
Example:
- ae24406 feat: bump to v2
- 3af1a33 Initial commit
This project was created to practice:
- Writing Dockerfiles
- Building container images
- Running containers
- Automating repetitive tasks with Makefiles
- Managing source code with Git and GitHub
Planned enhancements include:
- Add GitHub Actions CI/CD pipeline
- Automated testing
- Docker Hub integration
- Azure Container Apps deployment
- Infrastructure as Code (IaC)
- Application monitoring and logging
- Security scanning
Forsyth Famous
GitHub: https://github.com/forsythfamous
This project is intended for educational and demonstration purposes.