mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
- Add docker/sandbox/entrypoint.sh to auto-copy /ui-dist → internal/server/dist/ when missing, fixing the gitignore regression for all Docker workflows - Add scripts/_sandbox_common.sh with shared SCRIPT_DIR, PROJECT_ROOT, COMPOSE_FILE, and require_docker() function - Refactor all 5 sandbox scripts to source _sandbox_common.sh - Use YAML extension fields (x-sandbox-common) in docker-compose.sandbox.yml to eliminate duplicated service config - Break sandbox_playground_up.sh one-liner into readable steps, add skillshare-ui alias and init hint - Change test.sh to use `make build` for placeholder consistency
11 lines
328 B
Bash
Executable File
11 lines
328 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Stop and remove the Docker playground container.
|
|
set -euo pipefail
|
|
|
|
source "$(dirname "$0")/_sandbox_common.sh"
|
|
|
|
require_docker
|
|
cd "$PROJECT_ROOT"
|
|
docker compose -f "$COMPOSE_FILE" --profile playground stop sandbox-playground
|
|
docker compose -f "$COMPOSE_FILE" --profile playground rm -f sandbox-playground
|