Fix Docker deployment inputs

Include all addon workspaces and vendored dependencies in image builds, and expose deploy time plus commit metadata on the home page.

Amp-Thread-ID: https://ampcode.com/threads/T-01a033d4-0e44-708e-af0e-6166283416ff
Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
Amp
2026-08-24 18:30:45 +00:00
co-authored by heaust
parent 6153223fd5
commit d71da85307
6 changed files with 61 additions and 5 deletions
+7 -1
View File
@@ -50,8 +50,14 @@ if [[ "$(git rev-parse HEAD)" != "$fetched" ]]; then
exit 1
fi
deployed_at="$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
commit_message="$(git log -1 --format=%s)"
printf 'Building the production image...\n'
"${compose[@]}" build --pull yawn
"${compose[@]}" build --pull \
--build-arg "YAWN_DEPLOYED_AT=$deployed_at" \
--build-arg "YAWN_DEPLOY_COMMIT_MESSAGE=$commit_message" \
yawn
"${compose[@]}" up -d --remove-orphans yawn
container="$("${compose[@]}" ps -q yawn)"