- rename product to Scribase Mail across web app, emails, marketing and docs - new monochrome mark/favicons and neutral black/white theme; remove emoji UI - source code link (AGPL-3.0) in sidebar, login and unsubscribe pages - rewrite marketing site and self-hosting docs for OCI Email Delivery, add OCI notes page (event sources, unavailable features) - add NOTICE and MERGE.md crediting useSend and listing changes - add deploy/compose.scribase-mail.yml (web+postgres+redis, 1.47 GB limits), deploy/.env.example, Caddy site and DEPLOY.md for mail.scribase.com - replace legacy provider env vars in turbo.json, CI, env examples, docker files - OCI SDK packages as server externals for the standalone build Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
724 B
Bash
24 lines
724 B
Bash
#!/usr/bin/env bash
|
|
|
|
command -v docker >/dev/null 2>&1 || {
|
|
echo "Docker is not running. Please start Docker and try again."
|
|
exit 1
|
|
}
|
|
|
|
SCRIPT_DIR="$(readlink -f "$(dirname "$0")")"
|
|
MONOREPO_ROOT="$(readlink -f "$SCRIPT_DIR/../")"
|
|
|
|
APP_VERSION="$(git name-rev --tags --name-only $(git rev-parse HEAD) | head -n 1 | sed 's/\^0//')"
|
|
GIT_SHA="$(git rev-parse HEAD)"
|
|
|
|
echo "Building docker image for monorepo at $MONOREPO_ROOT"
|
|
echo "App version: $APP_VERSION"
|
|
echo "Git SHA: $GIT_SHA"
|
|
|
|
docker build -f "$SCRIPT_DIR/Dockerfile" \
|
|
--progress=plain \
|
|
--build-arg APP_VERSION="$APP_VERSION" \
|
|
--build-arg GIT_SHA="$GIT_SHA" \
|
|
-t "scribase-mail:latest" \
|
|
-t "scribase-mail:$GIT_SHA" \
|
|
"$MONOREPO_ROOT" |