# Use the existing Odoo image as the base FROM odoo:latest as odoo-custom # Copy the entrypoint script into the container COPY entrypoint_odoo.sh /usr/local/bin/entrypoint_odoo.sh USER root # Make the entrypoint script executable RUN chmod +x /usr/local/bin/entrypoint_odoo.sh # Set the new entrypoint ENTRYPOINT ["/usr/local/bin/entrypoint_odoo.sh"]