2026-04-06 07:49:00 +00:00
|
|
|
1) git clone de odoo Dockerhub dans Congif-odoo
|
2026-04-10 05:59:00 +00:00
|
|
|
|
|
|
|
|
github odoo > github ==> branche , récupérer lien (..., cpoy permalink)
|
|
|
|
|
ex:
|
|
|
|
|
|
|
|
|
|
BASE="https://raw.githubusercontent.com/odoo/docker/b8b9102bf64e67d7baeaa410ff506dbe16fa8dfe/18.0"
|
|
|
|
|
curl -O "${BASE}/Dockerfile"
|
|
|
|
|
curl -O "${BASE}/entrypoint.sh"
|
|
|
|
|
curl -O "${BASE}/wait-for-psql.py"
|
|
|
|
|
|
|
|
|
|
|
2026-04-06 07:49:00 +00:00
|
|
|
2) ajoute vim dans dockerfile
|
|
|
|
|
3) Update Dockerfile, (avant le COPY ./entrypoint.sh /)
|
|
|
|
|
|
|
|
|
|
# Install Python dependencies for OCA modules
|
|
|
|
|
COPY ./requirements.txt /tmp/requirements.txt
|
|
|
|
|
RUN pip install --no-cache-dir --break-system-packages -r /tmp/requirements.txt
|