Add lightweight web control panel

This commit is contained in:
2026-04-25 02:19:52 +02:00
parent 535b8195ef
commit f57e1d63eb
11 changed files with 1786 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8080
VOLUME ["/app/data"]
VOLUME ["/app/session"]
CMD ["python", "main.py"]