Skip to content

[IMAGE] Containerize Mintlify docs with Docker#26

Merged
c-fteixeira merged 2 commits intomainfrom
honglin/containerize
Jul 23, 2025
Merged

[IMAGE] Containerize Mintlify docs with Docker#26
c-fteixeira merged 2 commits intomainfrom
honglin/containerize

Conversation

@V2arK
Copy link
Copy Markdown
Contributor

@V2arK V2arK commented Jul 15, 2025

🐳 Containerize Mintlify docs with Docker

Added Docker support to run the CentML Platform documentation locally in a container:

  • Dockerfile: Sets up Node.js environment with Mintlify CLI
  • docker-compose.yml: Enables easy local development with live reload
  • .dockerignore: Optimizes build performance

Usage:

docker-compose up --build

Or build and run the container directly:

# Build the image
docker build -t centml-docs .

# Run the container
docker run -p 3000:3000 centml-docs

Docs will be available at http://localhost:3000

build result

REPOSITORY                         TAG                  IMAGE ID       CREATED         SIZE
centml_platform_docs-docs          latest               d4886ab25f7c   6 minutes ago   893MB

Screenshots

image image

@V2arK V2arK requested a review from anandj91 July 15, 2025 20:56
@V2arK V2arK self-assigned this Jul 15, 2025
@V2arK V2arK added the enhancement New feature or request label Jul 15, 2025
@V2arK V2arK marked this pull request as draft July 15, 2025 22:45
Comment thread .DS_Store
@V2arK V2arK force-pushed the honglin/containerize branch from 7ec5d6c to 03dab6e Compare July 17, 2025 16:16
@V2arK V2arK requested a review from anandj91 July 17, 2025 16:17
@V2arK
Copy link
Copy Markdown
Contributor Author

V2arK commented Jul 17, 2025

tested against EC2 instance:

image image image image

@V2arK V2arK marked this pull request as ready for review July 17, 2025 16:30
@c-fteixeira c-fteixeira merged commit 851d333 into main Jul 23, 2025
1 check passed
@V2arK V2arK deleted the honglin/containerize branch July 24, 2025 15:26
@V2arK V2arK mentioned this pull request Apr 14, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants