replace ProspectOS with BrowserOnly build

This commit is contained in:
Marco0300
2026-09-05 14:05:11 +02:00
parent f5b6f6c739
commit 65fbec49cc
121 changed files with 405 additions and 12569 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium
RUN apt-get update && apt-get install -y --no-install-recommends chromium && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY api/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY api/server.py .
COPY web /app/web
RUN useradd --system --create-home app && mkdir -p /data && chown -R app:app /app /data
USER app
EXPOSE 8000
CMD ["python", "server.py"]