Files
mohmdsdgandCursor 6ed952cc5d Extract deploy bundle inside Dockerfile so server needs no tar command
Server workflow is only git pull and docker compose up --build; env still comes from .env.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 22:00:15 +03:30

9 lines
221 B
Bash

#!/usr/bin/env bash
# روی سرور: یک دستور
set -euo pipefail
cd "$(dirname "$0")/.."
git pull --no-rebase
docker compose up -d --build
docker compose ps
echo "health: curl -s http://127.0.0.1:3000/api/health"