Skip to content

Add dockerfile#17

Open
AnshBalar429 wants to merge 1 commit intoRuhaan838:masterfrom
AnshBalar429:dockerfile
Open

Add dockerfile#17
AnshBalar429 wants to merge 1 commit intoRuhaan838:masterfrom
AnshBalar429:dockerfile

Conversation

@AnshBalar429
Copy link
Copy Markdown
Contributor

📝 Pull Request: Add Dockerfile

Summary
This PR introduces a Dockerfile to containerize the project, enabling consistent development and deployment across different environments.

Changes

  • Added a Dockerfile at the project root.
  • Configured the image to include all necessary dependencies.
  • Ensures reproducible builds and easier deployment.

How to Test

  1. Build the image:

    docker build -t diverse-x-image .
  2. Install X-Server (WSL) :

    sudo apt install x11-xserver-utils
  3. Give permissions :

    xhost +local:docker
  4. Run the container :

    docker run -it --rm \
        -e DISPLAY=$DISPLAY \
        -v /tmp/.X11-unix:/tmp/.X11-unix \
        diverse-x-image

Why

  • Simplifies setup for developers.
  • Provides a consistent runtime environment.
  • Makes deployment to container platforms straightforward.

@AnshBalar429 AnshBalar429 reopened this Oct 3, 2025
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