Update Dockerfile
Browse files- Dockerfile +3 -31
Dockerfile
CHANGED
|
@@ -80,7 +80,7 @@ echo "✅ Auto-backup enabled (every 5 minutes)"
|
|
| 80 |
echo ""
|
| 81 |
|
| 82 |
# ==========================================
|
| 83 |
-
# WEB TERMINAL SERVER (
|
| 84 |
# ==========================================
|
| 85 |
cat > /app/web_terminal.py << 'PYTHON_SCRIPT'
|
| 86 |
import os
|
|
@@ -633,26 +633,6 @@ HTML_TEMPLATE = """
|
|
| 633 |
.connection-bar.disconnected { background: rgba(239, 68, 68, 0.15); color: #ef4444; border-bottom: 1px solid rgba(239, 68, 68, 0.3); }
|
| 634 |
.connection-bar.connecting { background: rgba(234, 179, 8, 0.15); color: #eab308; border-bottom: 1px solid rgba(234, 179, 8, 0.3); }
|
| 635 |
|
| 636 |
-
/* Mobile Sidebar Toggle */
|
| 637 |
-
.sidebar-toggle {
|
| 638 |
-
display: none;
|
| 639 |
-
position: fixed;
|
| 640 |
-
bottom: 20px;
|
| 641 |
-
right: 20px;
|
| 642 |
-
width: 50px;
|
| 643 |
-
height: 50px;
|
| 644 |
-
border-radius: 50%;
|
| 645 |
-
background: #2563eb;
|
| 646 |
-
color: white;
|
| 647 |
-
border: none;
|
| 648 |
-
cursor: pointer;
|
| 649 |
-
z-index: 200;
|
| 650 |
-
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
|
| 651 |
-
font-size: 20px;
|
| 652 |
-
align-items: center;
|
| 653 |
-
justify-content: center;
|
| 654 |
-
}
|
| 655 |
-
|
| 656 |
/* Mobile Overlay */
|
| 657 |
.sidebar-overlay {
|
| 658 |
display: none;
|
|
@@ -772,10 +752,6 @@ HTML_TEMPLATE = """
|
|
| 772 |
right: 0;
|
| 773 |
}
|
| 774 |
|
| 775 |
-
.sidebar-toggle {
|
| 776 |
-
display: flex;
|
| 777 |
-
}
|
| 778 |
-
|
| 779 |
.connection-bar {
|
| 780 |
right: 0;
|
| 781 |
}
|
|
@@ -1098,11 +1074,6 @@ HTML_TEMPLATE = """
|
|
| 1098 |
</div>
|
| 1099 |
</div>
|
| 1100 |
</div>
|
| 1101 |
-
|
| 1102 |
-
<!-- Mobile Sidebar Toggle Button -->
|
| 1103 |
-
<button class="sidebar-toggle" id="sidebarToggle" onclick="toggleSidebar()">
|
| 1104 |
-
<i class="fas fa-chart-bar"></i>
|
| 1105 |
-
</button>
|
| 1106 |
|
| 1107 |
<script>
|
| 1108 |
const terminal = document.getElementById('terminal');
|
|
@@ -1585,13 +1556,14 @@ fi
|
|
| 1585 |
|
| 1586 |
echo ""
|
| 1587 |
echo "=========================================="
|
| 1588 |
-
echo "✅ Minecraft Server
|
| 1589 |
echo "🌐 Access at: https://your-space.hf.space"
|
| 1590 |
echo "📱 Mobile optimized interface enabled"
|
| 1591 |
echo "💾 Logs are now persistent across refreshes"
|
| 1592 |
echo "⏰ Uptime tracking fixed"
|
| 1593 |
echo "⌨️ Real-time command typing preview enabled"
|
| 1594 |
echo "📊 Status modal with heartbeat icon added"
|
|
|
|
| 1595 |
echo "=========================================="
|
| 1596 |
|
| 1597 |
# Keep container alive
|
|
|
|
| 80 |
echo ""
|
| 81 |
|
| 82 |
# ==========================================
|
| 83 |
+
# WEB TERMINAL SERVER (No Blue Button)
|
| 84 |
# ==========================================
|
| 85 |
cat > /app/web_terminal.py << 'PYTHON_SCRIPT'
|
| 86 |
import os
|
|
|
|
| 633 |
.connection-bar.disconnected { background: rgba(239, 68, 68, 0.15); color: #ef4444; border-bottom: 1px solid rgba(239, 68, 68, 0.3); }
|
| 634 |
.connection-bar.connecting { background: rgba(234, 179, 8, 0.15); color: #eab308; border-bottom: 1px solid rgba(234, 179, 8, 0.3); }
|
| 635 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 636 |
/* Mobile Overlay */
|
| 637 |
.sidebar-overlay {
|
| 638 |
display: none;
|
|
|
|
| 752 |
right: 0;
|
| 753 |
}
|
| 754 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 755 |
.connection-bar {
|
| 756 |
right: 0;
|
| 757 |
}
|
|
|
|
| 1074 |
</div>
|
| 1075 |
</div>
|
| 1076 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1077 |
|
| 1078 |
<script>
|
| 1079 |
const terminal = document.getElementById('terminal');
|
|
|
|
| 1556 |
|
| 1557 |
echo ""
|
| 1558 |
echo "=========================================="
|
| 1559 |
+
echo "✅ Minecraft Server (No Blue Button Version) is LIVE!"
|
| 1560 |
echo "🌐 Access at: https://your-space.hf.space"
|
| 1561 |
echo "📱 Mobile optimized interface enabled"
|
| 1562 |
echo "💾 Logs are now persistent across refreshes"
|
| 1563 |
echo "⏰ Uptime tracking fixed"
|
| 1564 |
echo "⌨️ Real-time command typing preview enabled"
|
| 1565 |
echo "📊 Status modal with heartbeat icon added"
|
| 1566 |
+
echo "🔵 Blue floating button REMOVED"
|
| 1567 |
echo "=========================================="
|
| 1568 |
|
| 1569 |
# Keep container alive
|