xsshunter/docker-entrypoint.sh
2023-01-30 09:14:19 -08:00

8 lines
141 B
Bash
Executable file

#!/usr/bin/env bash
echo "Starting server..."
if [ "$NODE_ENV" = "development" ]; then
node server.js
else
pm2-runtime server.js
fi