Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Dockerfiles and Docker Compose for Frontend and Backend #8

Open
yashpandey06 opened this issue Dec 13, 2024 · 1 comment
Open

Comments

@yashpandey06
Copy link

Problem Statement

Setting up the development environment for new contributors can be time-consuming and error-prone due to varying local system configurations. A consistent environment is essential to streamline onboarding and ensure the project runs uniformly across all systems.

Proposed Solution

Introduce Dockerfiles for both the frontend and backend services, along with a docker-compose.yml file to spin up both containers simultaneously. Docker will provide a containerized development environment, making it easier for new contributors to get started with minimal setup.

Implementation Steps

  1. Create a Dockerfile for the frontend:

    • Base image: Use node:latest.
    • Install dependencies, copy the project files, and define the start command.
  2. Create a Dockerfile for the backend:

    • Base image: Use openjdk:latest (or another backend-specific image).
    • Copy the project files, install dependencies, and define the start command.
  3. Add a docker-compose.yml file:

    • Define services for both frontend and backend.
    • Configure networking to enable communication between services.
@Rajshah1302
Copy link

I would like to work on this issue.
Please assign it to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants