turboci-admin/docker/services/web/entrypoint.sh
2026-03-09 07:20:24 +00:00

14 lines
222 B
Bash

#!/bin/bash
cd /app
chmod +x init.sh
./init.sh
if [ $NODE_ENV = "production" ]; then
echo "Production Environment"
bun next start -p ${PORT}
else
echo "Development Environment"
bun next dev -p ${PORT}
fi