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

Feature: Add Docker Support for Containerized Development #585

Closed
wants to merge 2 commits into from

Conversation

eyadfarra
Copy link

Feature: Add Docker Support

Summary

This PR adds Docker support, enabling the app to run in a containerized environment for easier setup, development, and consistency.


Description

  • Added Dockerfile and docker-compose.yml for streamlined development.
  • Updated README.md with instructions on building, running, and stopping the app with Docker.
  • Includes xhost configuration to support Chromium-based GUI from the container.

Motivation

  • Simplifies setup: No local Python installation needed.
  • Ensures consistency: Same environment across machines.
  • Eases onboarding: Pre-configured environment for new contributors.

Alternatives Considered

  1. Manual Setup: Risk of inconsistencies and version conflicts.
  2. Virtual Environments: Isolates dependencies but lacks Docker's OS-level consistency.

Note

Tested on MacBook Pro with M1. Configuration may vary on other devices.

@surapuramakhil
Copy link
Contributor

@eyadfarra is selenium chrome interraction made via this socket?

  • /tmp/.X11-unix:/tmp/.X11-unix # Mount X11 socket from host

thats intresting

@feder-cr feder-cr closed this Oct 26, 2024
@surapuramakhil
Copy link
Contributor

@feder-cr why you closed this? A lot of users face difficulty running this project for the first time, docker will help in doing one click setup

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.

3 participants