Skip to content

Add Docker support for frontend application deployment - #213

Open
KishanNigam wants to merge 3 commits into
praveenscience:mainfrom
KishanNigam:main
Open

KishanNigam wants to merge 3 commits into
praveenscience:mainfrom
KishanNigam:main

Conversation

@KishanNigam

Copy link
Copy Markdown

Related Issue

  • Added Docker support to simplify application deployment and environment consistency.

Closes: #

Describe the changes you've made

  • Added a Dockerfile for containerizing the React frontend application.

  • Configured the Docker image to use Node.js 14 as the base image.

  • Added application working directory setup inside the container.

  • Added dependency installation using npm install.

  • Configured application startup using npm start.

  • Verified successful Docker image build and deployment on AWS EC2.

  • Confirmed application accessibility on port 3000.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Code style update (formatting, local variables)

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

  • This change requires a documentation update

How Has This Been Tested?

  • Built the Docker image using:

    docker build -t lms-frontend .
    
  • Ran the container using:

    docker run -d -p 3000:3000 --name lms-frontend lms-frontend
    
  • Verified that the React application starts successfully.

  • Verified that the application is accessible through EC2 public IP on port 3000.

  • Confirmed that application changes are reflected after rebuilding and redeploying the container.

Checklist:

  • My code follows the guidelines of this project.

  • I have performed a self-review of my own code.

  • I have commented my code, particularly wherever it was hard to understand.

  • I have made corresponding changes to the documentation.

  • My changes generate no new warnings.

  • I have added tests that prove my fix is effective or that my feature works.

  • Any dependent changes have been merged and published in downstream modules.

Screenshots

Original | Updated -- | -- Application running without Docker support | Application successfully running inside Docker container on port 3000

@github-actions
github-actions Bot requested a review from praveenscience June 7, 2026 18:06
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

Successfully merging this pull request may close these issues.

1 participant