gemmacut-spectral / scripts /build_docker_image.sh
satya007's picture
Add no-weights Docker image build path
6b080ac verified
raw
history blame contribute delete
367 Bytes
#!/usr/bin/env bash
# Build the no-weights GemmaCut SpectralQuant runtime image.
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
BUNDLE_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
IMAGE="${IMAGE:-gemmacut-spectral:008dd7f87}"
docker build \
-f "$BUNDLE_DIR/docker/Dockerfile" \
-t "$IMAGE" \
"$@" \
"$BUNDLE_DIR"
echo "Built $IMAGE"