- Added containerized Flask web application for Wake-on-LAN management - Implemented computer management with file-based configuration - Added network scanning and device discovery functionality - Included Docker setup with privileged networking for WOL operations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
476 B
Docker
25 lines
476 B
Docker
FROM python:3.11-slim
|
|
|
|
# Instalează dependențele sistem
|
|
RUN apt-get update && apt-get install -y \
|
|
wakeonlan \
|
|
nmap \
|
|
iputils-ping \
|
|
net-tools \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Setează directorul de lucru
|
|
WORKDIR /app
|
|
|
|
# Instalează dependențele Python
|
|
COPY app/requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Copiază aplicația
|
|
COPY app/ .
|
|
|
|
# Expune portul
|
|
EXPOSE 8080
|
|
|
|
# Comandă de start
|
|
CMD ["python", "app.py"] |