From a6c8d9c8c631252c46403ff1e5de3ac6d47e4dc0 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Sun, 8 Mar 2026 16:59:22 +0100 Subject: [PATCH] distrobox as alternative runner --- party-stage/distrobox-serve.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 party-stage/distrobox-serve.sh diff --git a/party-stage/distrobox-serve.sh b/party-stage/distrobox-serve.sh new file mode 100755 index 0000000..70aa6c0 --- /dev/null +++ b/party-stage/distrobox-serve.sh @@ -0,0 +1,9 @@ +#!/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" \ No newline at end of file