Files
deardiary/Dockerfile.docs
lotherk 5c8ebc9a03 feat: add Docker setup for documentation site
- Dockerfile.docs for building docs container
- nginx.conf for serving static Starlight site
- docker-compose.yml updated with docs service (--profile docs)
- Updated docs installation/deployment pages
2026-03-27 02:29:27 +00:00

19 lines
306 B
Docker

FROM oven/bun:1.1-alpine AS builder
WORKDIR /app/docs
COPY docs/package.json ./
RUN bun install
COPY docs ./
RUN bun run build
FROM nginx:alpine
COPY --from=builder /app/docs/dist /usr/share/nginx/html
COPY docs/nginx.conf /etc/nginx/http.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]