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
10 lines
253 B
Docker
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
|