AntiCoco: serveur MCP HelloFresh sans noix de coco
- Auth Playwright (login local, session persistee, capture du bearer token) - Client httpx vers l'API interne (endpoints via discover_api.py) - Filtre d'exclusion insensible aux accents (coco & co) - Serveur FastMCP (streamable-http) + outils hf_* - Docker + compose pour deploiement homelab
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# Image Playwright officielle : Chromium + polices + deps système déjà présents.
|
||||
FROM mcr.microsoft.com/playwright/python:v1.49.1-noble
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
# Sur le homelab : headless obligatoire (pas d'écran).
|
||||
ENV ANTICOCO_HEADLESS=1
|
||||
EXPOSE 9200
|
||||
|
||||
CMD ["python", "server.py"]
|
||||
Reference in New Issue
Block a user