fix add new version of user in app

This commit is contained in:
mahmood
2026-09-18 17:16:36 +03:30
parent 53a304b5d5
commit 7a2b8b3109
13 changed files with 118 additions and 2 deletions
+3 -1
View File
@@ -8,7 +8,7 @@ Dokploy only builds thin images that copy those files (no `pnpm install` on the
```bash
pnpm install
pnpm build:release
git add apps/api/release apps/admin-panel/dist apps/user-app/dist
git add -f apps/api/release apps/admin-panel/dist apps/user-app/dist apps/user-app-v2/dist
git commit -m "chore: refresh release artifacts"
git push
```
@@ -20,6 +20,7 @@ What this produces:
| API | `apps/api/release/app.js` (+ Prisma under `release/vendor`) | `docker.arvancloud.ir/node:20-bookworm` |
| Admin | `apps/admin-panel/dist/` | `docker.arvancloud.ir/nginx:latest` |
| User | `apps/user-app/dist/` | `docker.arvancloud.ir/nginx:latest` |
| User v2 | `apps/user-app-v2/dist/` | `docker.arvancloud.ir/nginx:latest` |
## Dokploy Environment
@@ -38,6 +39,7 @@ PORT=3000
|---|---|---|
| `admin-panel` | admin.example.com | **80** |
| `user-app` | app.example.com | **80** |
| `user-app-v2` | app-v2.example.com | **80** |
| `api` | (optional) | **3000** |
Frontends call `/api` on their own domain; nginx proxies to `api:3000`.