This commit is contained in:
2026-04-01 17:02:48 +10:00
parent b2e84d6f37
commit 25aa5659bf
2 changed files with 83 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends curl \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m -s /bin/bash appuser
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chown -R appuser:appuser /app
USER appuser
EXPOSE 8084
CMD ["python", "main.py", "--enable-gui", "--port", "8084", "--password", "admin"]