9 lines
300 B
Bash
Executable File
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" |