Initial commit - WOL Manager Flask application
- 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>
This commit is contained in:
25
Dockerfile
Normal file
25
Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user