Skip to content

Add Docker and docker-compose support for documentation development (#176)#267

Open
ParthMozarkar wants to merge 2 commits intoaboutcode-org:mainfrom
ParthMozarkar:feature/docker-setup
Open

Add Docker and docker-compose support for documentation development (#176)#267
ParthMozarkar wants to merge 2 commits intoaboutcode-org:mainfrom
ParthMozarkar:feature/docker-setup

Conversation

@ParthMozarkar
Copy link

Overview

This PR introduces containerization support to simplify the development and documentation build process.

By providing a standardized Docker environment, contributors can build and serve the documentation without installing project-specific dependencies locally.

Changes

Added a Dockerfile based on python:3.10-slim to standardize the documentation build environment.

Added a docker-compose.yml configuration to easily spin up the documentation server with live reloading support.

Configured the container to run the documentation server with appropriate port exposure for local development.

Benefits

Eliminates “works on my machine” issues by ensuring a consistent development environment.

Simplifies onboarding for new contributors — running docker-compose up is sufficient to start the documentation server.

Reduces dependency setup friction.

Provides a foundation for future CI/CD or deployment pipelines.

Usage
docker-compose up

Then open the browser at:

http://localhost:8000

Closes

Closes #176

Signed-off-by: Parth Mozarkar <greatparth21@gmail.com>
Signed-off-by: Parth Mozarkar <greatparth21@gmail.com>
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.

Add Dockerfile and docker-compose.yml for containerization

1 participant

Comments