+
{t('heroTitle')}
- {t('heroHighlight')}
-
+
{t('heroSubtitle')}
diff --git a/infrastructure/DEPLOY.md b/infrastructure/DEPLOY.md index 31d2c66..f9e5382 100644 --- a/infrastructure/DEPLOY.md +++ b/infrastructure/DEPLOY.md @@ -26,6 +26,8 @@ https://nudentic.ir `:latest` is **staging only** (wixur.ir baked in). Production compose must pin `TAG=v1.0.1`. +**Tags are immutable.** CI clones `--branch $tag`. Do not move/reuse an existing `v*` to pick up a Dockerfile or copy fix — cut a new version. The frontend standalone image must `COPY` `public/` (`frontend/Dockerfile`); without it, `/prosthesis-catalog/*.svg` 404s. + ### One-time on the Linux server 1. **HTTP registry** — Gitea is `http://wixur.ir:3000`. In `/etc/docker/daemon.json`: @@ -136,7 +138,7 @@ This pushes: - `dyolink/dyolink-backend:latest` - `dyolink/dyolink-frontend:latest` -**When to rebuild:** domain changes, frontend env (`NEXT_PUBLIC_*`) changes, or new app release. +**When to rebuild:** domain changes, frontend env (`NEXT_PUBLIC_*`) changes, files under `frontend/public/`, or a new app release. --- diff --git a/infrastructure/STAGING-DEPLOY.md b/infrastructure/STAGING-DEPLOY.md index 9eeb47d..e0fa923 100644 --- a/infrastructure/STAGING-DEPLOY.md +++ b/infrastructure/STAGING-DEPLOY.md @@ -35,7 +35,7 @@ http://wixur.ir:3000 → Gitea (native, no Docker) | frontend | `