legisqa-local / build-docker.sh
gabrielaltay's picture
update
ff7384a
raw
history blame contribute delete
676 Bytes
#!/bin/bash
# Script to build the LegisQA Docker image
IMAGE_NAME="legisqa-local"
IMAGE_TAG="latest"
echo "Building LegisQA Docker image..."
echo "Image: $IMAGE_NAME:$IMAGE_TAG"
echo "Context: $(pwd)"
echo ""
# Build the Docker image
docker build -t $IMAGE_NAME:$IMAGE_TAG .
# Check if build was successful
if [ $? -eq 0 ]; then
echo ""
echo "βœ… Docker image built successfully!"
echo "Image: $IMAGE_NAME:$IMAGE_TAG"
echo ""
echo "To run the container, use:"
echo " ./run-docker.sh"
echo ""
echo "To see the image details:"
echo " docker images | grep $IMAGE_NAME"
else
echo ""
echo "❌ Docker build failed!"
exit 1
fi