FROM odoo:19.0 USER root # Fix locale + install pg client RUN apt-get update && apt-get install -y \ postgresql-client \ curl \ locales \ && locale-gen en_US.UTF-8 \ && update-locale LANG=en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* ENV LANG=en_US.UTF-8 ENV LC_ALL=en_US.UTF-8 # Copy entrypoint COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh \ && chown -R odoo:odoo /var/lib/odoo EXPOSE 7860 USER odoo ENTRYPOINT ["/entrypoint.sh"]