music-video-gen/party-stage/distrobox-serve.sh
2026-03-08 16:59:22 +01:00

9 lines
300 B
Bash
Executable File

#!/usr/bin/env bash
CONTAINER_NAME="party-stage-dev"
# Create the container if it doesn't exist using a Node.js image
distrobox create --image node:lts --name "$CONTAINER_NAME" --yes
# Run the command inside the container
distrobox enter "$CONTAINER_NAME" -- sh -c "npm install && npx vite --host"