This commit is contained in:
Mohamed Alkobrosli 2024-09-25 05:28:01 +08:00 committed by GitHub
commit 4c125d9386
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

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 \

View File

@ -81,6 +81,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 \

View File

@ -83,6 +83,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 \