diff --git a/15.0/Dockerfile b/15.0/Dockerfile index 1cc6773d..57c38516 100644 --- a/15.0/Dockerfile +++ b/15.0/Dockerfile @@ -31,6 +31,7 @@ ENV BUILD_PACKAGE \ # wkhtml-buster is kept as in official image, no deb available for bullseye RUN set -x; \ sh -c /install/package_odoo_common.sh \ + && /install/package_odoo_common_custom.sh \ && /install/package_odoo.sh \ && /install/setup-pip.sh \ && /install/postgres.sh \ @@ -58,7 +59,11 @@ RUN adduser --disabled-password -u $UID --gecos '' odoo \ VOLUME ["/data/odoo", "/var/log/odoo"] USER odoo -# Expose Odoo services +RUN python3 -m venv /odoo/.venv --system-site-packages +ENV PATH=/odoo/.venv/bin:$PATH +RUN echo "export PATH=$PATH" >> ~/.bashrc + +RUN /odoo/.venv/bin/pip install -r /odoo/base_requirements.txt EXPOSE 8069 8072 ENV ODOO_VERSION=15.0 \