forked from mtusi2026/mtusi2026lab3
На 5
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
workdir=$(mktemp -d)
|
||||
trap 'rm -rf "$workdir"' EXIT
|
||||
cp -R service Dockerfile .dockerignore "$workdir/"
|
||||
patch_path="$PWD/evidence/research/token-optimization.patch"
|
||||
git -C "$workdir" apply --reverse "$patch_path"
|
||||
docker build -t mtusi-messenger:lab3-before "$workdir"
|
||||
printf '%s\n' 'Baseline image rebuilt. Select it explicitly with API_IMAGE=mtusi-messenger:lab3-before.'
|
||||
Reference in New Issue
Block a user