diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 81ce914..7a8f302 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -45,4 +45,4 @@ ENV OPENERP_SERVER /etc/odoo/openerp-server.conf USER odoo ENTRYPOINT ["/entrypoint.sh"] -CMD ["/usr/bin/openerp-server"] +CMD ["openerp-server"] diff --git a/8.0/entrypoint.sh b/8.0/entrypoint.sh index f11a815..8ec01b4 100755 --- a/8.0/entrypoint.sh +++ b/8.0/entrypoint.sh @@ -12,10 +12,10 @@ export PGHOST PGPORT PGUSER PGPASSWORD case "$1" in --) shift - exec /usr/bin/openerp-server "$@" + exec openerp-server "$@" ;; -*) - exec /usr/bin/openerp-server "$@" + exec openerp-server "$@" ;; *) exec "$@"