diff --git a/doc/operations-and-configuration.md b/doc/operations-and-configuration.md index ab33558..7f5912c 100644 --- a/doc/operations-and-configuration.md +++ b/doc/operations-and-configuration.md @@ -44,6 +44,8 @@ docker compose logs -f ## Frontend Build Network Resilience +The frontend Dockerfile uses `node:22-slim` by default for improved npm network compatibility on IPv4-only Linux hosts. + The frontend image build supports npm fetch tuning through environment-driven compose build args: - `NPM_REGISTRY` (default `https://registry.npmjs.org/`) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index f9a1dfa..1a7f121 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine +FROM node:22-slim ARG NPM_REGISTRY=https://registry.npmjs.org/ ARG NPM_FETCH_RETRIES=5