run.sh 274 B

12345678
  1. #!/bin/bash
  2. if [ "$#" -lt 2 ]; then
  3. echo "USAGE: $0 PYTHON_VERSION ARGS"
  4. exit 1
  5. fi
  6. podman run --rm -it --events-backend=file --hostname=palm --network host -v $PWD:/srv:z "mint-python$1" bash -c "source ~/python3/bin/activate && mint-ai-translate-consumer ${@:2}"