fix sandbox prod build w/ custom Dockerfile (#255)

This commit is contained in:
Olcan
2025-05-03 10:07:51 -07:00
committed by GitHub
parent cfdbea4dc2
commit ae96b8914e

View File

@@ -63,8 +63,8 @@ if [ "$DOCKERFILE" = "Dockerfile-dev" ]; then
fi
fi
# prepare global installation files for prod build
if [ "$DOCKERFILE" = "Dockerfile" ]; then
# prepare global installation files for prod builds (anything but Dockerfile-dev)
if [ "$DOCKERFILE" != "Dockerfile-dev" ]; then
# pack cli
echo "packing @gemini-code/cli ..."
rm -f packages/cli/dist/gemini-code-cli-*.tgz