diff --git a/10.0/Dockerfile b/10.0/Dockerfile index a3e32e1..f730948 100644 --- a/10.0/Dockerfile +++ b/10.0/Dockerfile @@ -35,10 +35,10 @@ RUN set -x; \ # Copy entrypoint script and Odoo configuration file COPY ./entrypoint.sh / COPY ./odoo.conf /etc/odoo/ -RUN chown odoo /etc/odoo/odoo.conf -# Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons -RUN mkdir -p /mnt/extra-addons \ +# Set Permission && Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons +RUN chown odoo /etc/odoo/odoo.conf \ + && mkdir -p /mnt/extra-addons \ && chown -R odoo /mnt/extra-addons VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]