[IMP]Odoo service improvement for dev v10 with auto_reloading

This commit is contained in:
Fabien Bourgeois 2016-10-21 16:23:04 +02:00
parent 5f7dee21d6
commit 63a59eb4b6
3 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,6 @@
FROM odoo:10.0
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
ADD shell10.sh ./
RUN pip install watchdog
COPY shell10.sh ./
COPY launch10.dev.sh ./launch10.sh

View File

@ -5,4 +5,4 @@ WORKDIR /opt/odoo/extra-addons
RUN git clone --depth 1 -b 8.0 https://github.com/OCA/server-tools
WORKDIR /opt/odoo
ADD shell.sh ./
COPY shell.sh ./

View File

@ -0,0 +1,7 @@
#!/bin/bash
CONF=/opt/odoo/odoo.conf
ODOOCMD="python /opt/odoo/OCB/odoo-bin --config $CONF --dev all"
# Configuration generation and Odoo launch
bash genconf.sh && $ODOOCMD