Files
aperonight/server.sh
2025-08-28 13:43:05 +02:00

11 lines
182 B
Bash

#!/bin/bash -e
if [ -f tmp/pids/server.pid ]; then
rm tmp/pids/server.pid
fi
rails server -b 0.0.0.0
# This will exec the CMD from your Dockerfile, i.e. "npm start"
exec "$@"