diff --git a/odoo/odoo/Dockerfile.dev b/odoo/odoo/Dockerfile.dev index 20d7be9..ddccf06 100644 --- a/odoo/odoo/Dockerfile.dev +++ b/odoo/odoo/Dockerfile.dev @@ -6,3 +6,4 @@ RUN git clone --depth 1 -b 8.0 https://github.com/OCA/server-tools WORKDIR /opt/odoo COPY shell.sh ./ +COPY launch.dev.sh ./launch.sh diff --git a/odoo/odoo/launch.dev.sh b/odoo/odoo/launch.dev.sh new file mode 100644 index 0000000..dc22495 --- /dev/null +++ b/odoo/odoo/launch.dev.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +CONF=/opt/odoo/odoo.conf +ODOOCMD="python /opt/odoo/OCB/odoo.py --config $CONF --log-level debug --log-web --log-sql" + +# Configuration generation and Odoo launch +bash genconf.sh && $ODOOCMD