Skip to content

Add optional Docker deployment for self-hosting (#115) - #119

Open
ChrisX101010 wants to merge 1 commit into
microsoft:mainfrom
ChrisX101010:feat/docker-deployment
Open

Add optional Docker deployment for self-hosting (#115)#119
ChrisX101010 wants to merge 1 commit into
microsoft:mainfrom
ChrisX101010:feat/docker-deployment

Conversation

@ChrisX101010

Copy link
Copy Markdown
Contributor

Multi-stage build: mdbook + mdbook-mermaid compile all seven books via 'cargo xtask build' in a Rust builder stage; an unprivileged nginx stage serves the static output. No Rust toolchain or sources in the final image.

Opt-in and self-contained under docker/ — the supported local development path remains 'cargo xtask serve'.

Includes a build-only CI job so the Dockerfile cannot silently rot.

Multi-stage build: mdbook + mdbook-mermaid compile all seven books via
'cargo xtask build' in a Rust builder stage; an unprivileged nginx stage
serves the static output. No Rust toolchain or sources in the final image.

Opt-in and self-contained under docker/ — the supported local development
path remains 'cargo xtask serve'.

Includes a build-only CI job so the Dockerfile cannot silently rot.
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