Files
docs/Dockerfile
Vishesh 'ironeagle' Bangotra 03de5cd2b4 ## Commit Message
**Restructure documentation layout, update entrypoint links, and migrate folders**

This commit introduces a consistent and modular documentation structure by
grouping related documentation under `libs`, `apis`, and `tutorials`. The
Dockerfile now reflects the new paths, and the index page links have been
adjusted accordingly.

### Folder Migrations
The following documentation directories were moved:

- `./mongo-ops/site` → `./libs/mongo-ops/site`
- `./blog-api/site` → `./apis/blog/site`
- `./tutorials/media-manager/site` (unchanged, retained under tutorials)

These changes improve namespace clarity and reflect the logical separation
between libraries, APIs, and tutorials.

### Additional Changes
- Updated URLs in `_index/index.html` to point to `/libs/mongo-ops/` and `/apis/blog/`.
- Removed outdated root-level documentation folders.
2025-12-10 16:17:29 +05:30

31 lines
743 B
Docker

# Stage 1: Base Nginx static server
FROM nginx:1.27-alpine
# Metadata
LABEL maintainer="Aetoskia <dev@aetoskia.com>"
LABEL description="Static documentation host for Aetoskia projects"
# Copy custom Nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copy Index
COPY ./_index /usr/share/nginx/html/
# Copy Libs
COPY ./libs/mongo-ops/site /usr/share/nginx/html/libs/mongo-ops/
# Copy Apis
COPY ./apis/blog/site /usr/share/nginx/html/apis/blog/
# Copy Tutorials
COPY ./tutorials/media-manager/site /usr/share/nginx/html/tutorials/media-manager/
# Expose HTTP port
EXPOSE 80
# Healthcheck
HEALTHCHECK --interval=30s --timeout=5s CMD wget -qO- http://localhost/ || exit 1
# Start Nginx
CMD ["nginx", "-g", "daemon off;"]