diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 1f19cbf..f5bf899 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -36,6 +36,9 @@ COPY ./run.sh / # Mount /var/lib/odoo to allow restoring filestore VOLUME ["/var/lib/odoo"] +# Expose Odoo service +EXPOSE 8069 + # Set default user when running the container USER odoo diff --git a/8.0/run.sh b/8.0/run.sh index 20d5ecc..41dc889 100755 --- a/8.0/run.sh +++ b/8.0/run.sh @@ -8,4 +8,5 @@ export PGPASSWORD=$DB_ENV_POSTGRES_PASSWORD [ "$1" != "--" ] && exec "$@" +shift exec /usr/bin/openerp-server --config=/etc/odoo/openerp-server.conf "$@"