1
1
mirror of https://github.com/xodivorce/isdowndetectordown.git synced 2025-12-19 08:52:57 +05:30

refactor: added docker support and improved structure

This commit is contained in:
2025-11-21 23:03:18 +05:30
parent ebaf5cb698
commit f951a13b8e
121 changed files with 281 additions and 13460 deletions

14
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
# Build or watch Tailwind CSS based on environment
if [ "$ENVIRONMENT" = "development" ]; then
echo "Starting Tailwind CSS in watch mode..."
npm run dev &
else
echo "Building Tailwind CSS for production..."
npm run build
fi
# Execute the main command
exec "$@"