Skip to content

feat: Add Docker support for containerized development#7262

Open
amankv1234 wants to merge 1 commit into
dhairyagothi:Mainfrom
amankv1234:feature/add-docker-support
Open

feat: Add Docker support for containerized development#7262
amankv1234 wants to merge 1 commit into
dhairyagothi:Mainfrom
amankv1234:feature/add-docker-support

Conversation

@amankv1234
Copy link
Copy Markdown
Contributor

Description

This PR adds Docker support to the project to streamline the local development setup and provide a consistent, containerized environment. By utilizing Docker, new contributors can easily spin up the project without having to manually install or configure local HTTP servers or worry about cross-platform setup issues.

Changes Made

  • Added a Dockerfile that uses a lightweight nginx:alpine image to serve the static website.
  • Added a docker-compose.yml file to allow the entire environment to be spun up with a single docker compose up command, exposing the site on port 8080.
  • Added a .dockerignore file to exclude unnecessary local files (like .git and node_modules) from the Docker build context to keep the image size small.

Related Issues

Fixes #7127

How to Test

  1. Ensure you have Docker installed on your machine.
  2. Checkout this branch locally.
  3. Run docker compose up --build in the root directory.
  4. Open your browser and navigate to http://localhost:8080.
  5. Verify that the application loads successfully.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 7, 2026

@amankv1234 is attempting to deploy a commit to the Dhairya Gothi 's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2026

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@amankv1234
Copy link
Copy Markdown
Contributor Author

"Hey @dhairyagothi , the PR for adding Docker support is up and ready for review! Please take a look when you get a moment. Thanks!"

@dhairyagothi dhairyagothi added gssoc:approved Approved by admin level:beginner Beginner difficulty task type:refactor Refactoring/improvement labels Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Approved by admin level:beginner Beginner difficulty task type:refactor Refactoring/improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add Docker support for containerized development and deployment

2 participants