refactor/significant-changes #3

Merged
mkelvers merged 71 commits from refactor/significant-changes into main 2026-05-14 11:25:25 +00:00
Showing only changes of commit 1b20fa9d32 - Show all commits

View File

@@ -1,7 +1,17 @@
#!/bin/sh
set -e
echo "[$(date -Iseconds)] Checking dist directory contents:"
ls -la /app/dist/
# Print diagnostic info
echo "[$(date -Iseconds)] Running as user: $(id)"
echo "[$(date -Iseconds)] Database file: $DATABASE_FILE"
if [ -f "/app/main_server" ]; then
echo "[$(date -Iseconds)] main_server found, size: $(stat -c%s /app/main_server) bytes"
chmod +x /app/main_server
else
echo "[$(date -Iseconds)] ERROR: /app/main_server not found!"
exit 1
fi
echo "[$(date -Iseconds)] Starting server..."
exec /app/main_server
exec /app/main_server