copilot test
This commit is contained in:
10
scripts/start_scenar.sh
Normal file
10
scripts/start_scenar.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
# Usage: ./scripts/start_scenar.sh [image] [container_name] [port]
|
||||
IMAGE=${1:-scenar-creator:latest}
|
||||
NAME=${2:-scenar-creator}
|
||||
PORT=${3:-8080}
|
||||
|
||||
echo "Starting container '$NAME' from image '$IMAGE' on port $PORT..."
|
||||
docker run -d --name "$NAME" -p "$PORT:8080" "$IMAGE"
|
||||
echo "Container started."
|
||||
Reference in New Issue
Block a user