feat: rebuild as multi-user web agent

This commit is contained in:
wuyang
2026-07-26 06:52:12 +08:00
parent 45792c8fd5
commit 37f83eaac7
634 changed files with 5060 additions and 139619 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM python:3.12-slim-bookworm@sha256:d50fb7611f86d04a3b0471b46d7557818d88983fc3136726336b2a4c657aa30b
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
RUN python -m pip install --no-cache-dir --upgrade pip==26.1.2
COPY --chown=65534:65534 --chmod=0444 e2e/stub_provider.py ./stub_provider.py
USER 65534:65534
EXPOSE 9000
HEALTHCHECK --interval=2s --timeout=2s --retries=20 CMD \
python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:9000/health', timeout=1)"
CMD ["python", "/app/stub_provider.py"]