File size: 316 Bytes
0a25a37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

# Print environment for debugging
echo "Environment variables:"
printenv | grep -v PASSWORD | grep -v SECRET

# Set default port if not provided
if [ -z "$PORT" ]; then
    echo "PORT not set, defaulting to 7860"
    export PORT=7860
fi

echo "Starting server on port $PORT"
serve -s dist -l $PORT