dsql-admin/dsql-app/docker/cron/entrypoint.sh

10 lines
137 B
Bash
Raw Normal View History

2025-02-16 16:12:40 +00:00
#!/bin/bash
cd /app
if [ "$NODE_ENV" == "production" ]; then
bun docker/cron/index.ts
else
bun --watch docker/cron/index.ts
fi