diff --git a/8.0/Dockerfile b/8.0/Dockerfile index 7927b0b..95b44e2 100644 --- a/8.0/Dockerfile +++ b/8.0/Dockerfile @@ -37,6 +37,8 @@ COPY ./openerp-server.conf /etc/odoo/ RUN chown odoo /etc/odoo/openerp-server.conf # Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons +RUN mkdir -p /mnt/extra-addons \ + && chown -R odoo /mnt/extra-addons VOLUME ["/var/lib/odoo", "/mnt/extra-addons"] # Expose Odoo services