20 lines
743 B
Text
20 lines
743 B
Text
0) mkdir -p odoo-filestore odoo-logs odoo-postgresql custom
|
|
|
|
1) dans Congif-odoo, git clone de odoo Dockerhub
|
|
|
|
github odoo > github ==> branche , récupérer lien (..., cpoy permalink)
|
|
ex:
|
|
cd config-odoo
|
|
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"
|
|
chmod +x entrypoint.sh wait-for-psql.py
|
|
sed -i 's/curl \\/curl vim \\/' Dockerfile
|
|
|
|
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
|