CIA/e-voting-system/docker/Dockerfile.bootnode
Alexis Bruneteau f825a2392c feat: Implement dark theme for frontend with toggle
Changes:
- Add next-themes dependency for theme management
- Create ThemeProvider wrapper for app root layout
- Set dark mode as default theme
- Create ThemeToggle component with Sun/Moon icons
- Add theme toggle to home page navigation
- Add theme toggle to dashboard header
- App now starts in dark mode with ability to switch to light mode

Styling uses existing Tailwind dark mode variables configured in
tailwind.config.ts and globals.css. All existing components automatically
support dark theme.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-07 16:35:44 +01:00

36 lines
874 B
Docker

# ============================================================================
# Bootnode Dockerfile
# ============================================================================
# Lightweight service for peer discovery in PoA blockchain network
FROM python:3.12-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*
# Copy bootnode requirements
COPY bootnode/requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy bootnode service
COPY bootnode /app/bootnode
# Set working directory
WORKDIR /app/bootnode
# Expose port
EXPOSE 8546
# Health check
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
CMD curl -f http://localhost:8546/health || exit 1
# Start bootnode
CMD ["python", "bootnode.py"]