mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-07-03 11:51:38 +00:00
fix(docker): include CHANGELOG.md, logo/, and reticulum manual in Docker images; fix markdown table styling in docs
This commit is contained in:
+5
-2
@@ -22,11 +22,13 @@ COPY patches ./patches
|
||||
COPY scripts/fetch-micron-wasm.mjs scripts/fetch-micron-wasm.mjs
|
||||
COPY scripts/micron-wasm-resolve-bundled.mjs scripts/micron-wasm-resolve-bundled.mjs
|
||||
COPY scripts/micron-parser-go-version.mjs scripts/micron-parser-go-version.mjs
|
||||
COPY scripts/build/fetch_reticulum_manual.py scripts/build/fetch_reticulum_manual.py
|
||||
COPY meshchatx/src/frontend ./meshchatx/src/frontend
|
||||
RUN npm install -g pnpm@10.33.0 && \
|
||||
pnpm config set verify-store-integrity true && \
|
||||
pnpm install --frozen-lockfile && \
|
||||
pnpm run build-frontend
|
||||
pnpm run build-frontend && \
|
||||
pnpm run build-docs
|
||||
|
||||
# ---- STAGE 2: Python Builder ----
|
||||
|
||||
@@ -45,7 +47,8 @@ ENV PATH="/opt/venv/bin:$PATH"
|
||||
# Install essential runtime tools in the venv (cffi verify needs setuptools on Python 3.12+)
|
||||
RUN pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0"
|
||||
|
||||
COPY pyproject.toml uv.lock README.md ./
|
||||
COPY pyproject.toml uv.lock README.md CHANGELOG.md ./
|
||||
COPY logo ./logo
|
||||
COPY vendor ./vendor
|
||||
RUN uv sync --no-group dev --no-install-project && \
|
||||
rm -rf /root/.cache/pip /root/.cache/uv
|
||||
|
||||
+5
-2
@@ -19,11 +19,13 @@ COPY patches ./patches
|
||||
COPY scripts/fetch-micron-wasm.mjs scripts/fetch-micron-wasm.mjs
|
||||
COPY scripts/micron-wasm-resolve-bundled.mjs scripts/micron-wasm-resolve-bundled.mjs
|
||||
COPY scripts/micron-parser-go-version.mjs scripts/micron-parser-go-version.mjs
|
||||
COPY scripts/build/fetch_reticulum_manual.py scripts/build/fetch_reticulum_manual.py
|
||||
COPY meshchatx/src/frontend ./meshchatx/src/frontend
|
||||
RUN npm install -g pnpm@10.33.0 && \
|
||||
pnpm config set verify-store-integrity true && \
|
||||
pnpm install --frozen-lockfile && \
|
||||
pnpm run build-frontend
|
||||
pnpm run build-frontend && \
|
||||
pnpm run build-docs
|
||||
|
||||
FROM ${PYTHON_BUILD_IMAGE} AS builder
|
||||
USER root
|
||||
@@ -37,7 +39,8 @@ ENV PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0"
|
||||
|
||||
COPY pyproject.toml uv.lock README.md ./
|
||||
COPY pyproject.toml uv.lock README.md CHANGELOG.md ./
|
||||
COPY logo ./logo
|
||||
COPY vendor ./vendor
|
||||
RUN uv sync --no-group dev --no-install-project && \
|
||||
rm -rf /root/.cache/pip /root/.cache/uv
|
||||
|
||||
@@ -856,4 +856,41 @@ iframe {
|
||||
.dark :deep(.max-w-none) h4 {
|
||||
color: #f4f4f5; /* zinc-100 */
|
||||
}
|
||||
|
||||
/* Markdown table styling */
|
||||
:deep(.max-w-none) table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 1rem 0;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
:deep(.max-w-none) th,
|
||||
:deep(.max-w-none) td {
|
||||
border: 1px solid #d1d5db;
|
||||
padding: 0.5rem 0.75rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
:deep(.max-w-none) th {
|
||||
background-color: #f3f4f6;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
:deep(.max-w-none) tr:nth-child(even) {
|
||||
background-color: #f9fafb;
|
||||
}
|
||||
|
||||
.dark :deep(.max-w-none) th,
|
||||
.dark :deep(.max-w-none) td {
|
||||
border-color: #3f3f46;
|
||||
}
|
||||
|
||||
.dark :deep(.max-w-none) th {
|
||||
background-color: #27272a;
|
||||
}
|
||||
|
||||
.dark :deep(.max-w-none) tr:nth-child(even) {
|
||||
background-color: #18181b;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user