secureweb/run.sh
Mahmoud Emad e2eb77c3b9 feat: Add Dockerfile and simplify install script
- Add a Dockerfile for easy building and running of the application.
- Simplify the install.sh script by removing unnecessary steps and
  hardcoded values.  The installation of Tailwind CSS and Shadcn UI
  is now handled within the application.  This allows for greater
  flexibility and simplifies the process.
- Use environment variables for HOST and PORT, providing defaults.
2025-05-11 17:59:50 +03:00

11 lines
258 B
Bash
Executable File

#!/bin/bash
# Set default values for HOST and PORT if not provided
HOST=${HOST:-0.0.0.0}
PORT=${PORT:-3000}
# Change to the Svelte app directory
cd sweb
# Run the development server with the specified host and port
bun run dev -- --host $HOST --port $PORT