Update PLESK_DEPLOYMENT.md to include new image build options

- Added Option A for using a helper script to build and upload images with tagging and registry push capabilities.
- Retained Option B for manual build commands.
This commit is contained in:
T. Narantuya 2025-09-04 10:51:38 +09:00
parent 9fe9c59f10
commit 91a9142d8a

View File

@ -93,7 +93,20 @@ customer-portal/
### Image Build and Upload
You can build locally and upload images to Plesk:
Option A — Use the helper script (recommended):
```bash
# Build both images, tag :latest and a date+sha tag, and write tarballs
scripts/plesk/build-images.sh
# Custom tag and output directory
scripts/plesk/build-images.sh --tag v1.0.0 --output ./dist
# Also push to a registry (e.g., GHCR)
scripts/plesk/build-images.sh --tag v1.0.0 --push ghcr.io/<org>
```
Option B — Manual build commands:
```bash
# Frontend