This commit is contained in:
Mohamed Alkobrosli
2024-09-25 05:28:01 +08:00
committed by GitHub
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -67,6 +67,9 @@ RUN curl -o odoo.deb -sSL http://nightly.odoo.com/${ODOO_VERSION}/nightly/deb/od
COPY ./entrypoint.sh /
COPY ./odoo.conf /etc/odoo/
# Ensure that entrypoint script has permissions to r/w/x for owner and group, and r/_/x for others
RUN chmod 775 /entrypoint.sh
# Set permissions and 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 \