[FIX] Dockerfile: let odoo user owner of /mnt/extra-addons
This allows to directly create new addons in /mnt/extra-addons from inside the container, e.g. using odoo scaffolding. Closes #21.
This commit is contained in:
parent
dbce067bb4
commit
fac64b785d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user