Docker File updated

Adds to Improvement to the docker image size.
This commit is contained in:
Valerian Pereira
2018-05-26 23:58:14 +05:30
committed by GitHub
parent b3d6d018f7
commit f3ee899c0d
+3 -3
View File
@@ -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"]