Files
encoach_backend_new_v2/Dockerfile
devops c1b23c8a5c Add Dockerfile to pre-bake Python ML dependencies into backend image
Extends odoo:19.0 with all requirements from new_project/requirements.txt
(openai, torch, sentence-transformers, faiss-cpu, etc.) so they are
baked into the image at build time — no more manual pip installs needed.

Updates docker-compose.yml to use build: . and image: encoach-backend:latest.

Made-with: Cursor
2026-04-01 19:24:51 +04:00

10 lines
253 B
Docker

FROM odoo:19.0
USER root
# Install all Python dependencies required by EnCoach custom addons
COPY new_project/requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt --break-system-packages --no-warn-script-location
USER odoo