59 lines
1.2 KiB
Markdown
59 lines
1.2 KiB
Markdown
# Task Title
|
|
|
|
**Task ID:** 008
|
|
**Date Created:** 2025-07-04
|
|
**Author:** Gemini
|
|
|
|
---
|
|
|
|
## Task Description
|
|
|
|
This task is to containerize the application using Docker and Docker Compose. The project code will be cloned from a git repository before the build.
|
|
|
|
---
|
|
|
|
## Instructions
|
|
|
|
- A `Dockerfile` is created to define the build steps for the Next.js application.
|
|
- A `.dockerignore` file is created to exclude unnecessary files from the Docker build context.
|
|
- A `docker-compose.yml` file is created to define the services for the application.
|
|
|
|
---
|
|
|
|
## Input Data
|
|
|
|
- The git repository URL from `git.haider.app`.
|
|
|
|
---
|
|
|
|
## Expected Output
|
|
|
|
- A Docker image that can be run as a container.
|
|
- The application will be accessible on port 8150.
|
|
|
|
---
|
|
|
|
## Constraints & Requirements
|
|
|
|
- The project code must be cloned from a git repository.
|
|
- The application must run on port 8150.
|
|
|
|
---
|
|
|
|
## References (Optional)
|
|
|
|
- [Docker Documentation](https://docs.docker.com/)
|
|
- [Docker Compose Documentation](https://docs.docker.com/compose/)
|
|
|
|
---
|
|
|
|
## Metadata
|
|
|
|
| Key | Value |
|
|
|-----------------|------------------|
|
|
| Priority | High |
|
|
| Status | Done |
|
|
| Tags | Docker, Docker Compose, Deployment |
|
|
|
|
---
|