Livrare LOT 1 - Didi
This commit is contained in:
commit
5380c3fc63
990 changed files with 133308 additions and 0 deletions
22
ai_platform/modules/cloak/deploy/Dockerfile
Normal file
22
ai_platform/modules/cloak/deploy/Dockerfile
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# cloak service — FastAPI wrapper around CloakBrowser
|
||||
#
|
||||
# Base image already has stealth Chromium, Xvfb, system fonts, Node 20.
|
||||
# We just add the FastAPI app + uvicorn on top.
|
||||
|
||||
FROM cloakhq/cloakbrowser:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml ./
|
||||
COPY src/ ./src/
|
||||
RUN pip install --no-cache-dir \
|
||||
"fastapi>=0.115.0" \
|
||||
"uvicorn[standard]>=0.32.0" \
|
||||
"pydantic>=2.0" \
|
||||
"pydantic-settings>=2.0" \
|
||||
&& pip install --no-cache-dir -e .
|
||||
|
||||
EXPOSE 8770
|
||||
|
||||
# Base image already runs Xvfb via /entrypoint.sh — we override the CMD only.
|
||||
CMD ["python", "-m", "cloak.server"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue