#!/bin/bash
set -e

# Clone the repository
echo "Cloning repository..."
git clone https://github.com/tidb-samples/tidb-lab-python

# Run Docker container
echo "Starting Docker container..."
sudo docker run -d -p 3000:8080 -v ./tidb-lab-python:/root/tidb-lab-python cheesewang/tidb-lab-python-vscode:1.0