diff --git a/16.1.Dockerfile b/16.1.Dockerfile index ff80db8c..1e24271b 100644 --- a/16.1.Dockerfile +++ b/16.1.Dockerfile @@ -1,5 +1,5 @@ FROM python:3.9-slim-bullseye AS base - + EXPOSE 8069 8072 ARG GEOIP_UPDATER_VERSION=4.3.0 @@ -64,7 +64,7 @@ RUN apt-get -qq update \ WORKDIR /opt/odoo COPY bin/* /usr/local/bin/ -COPY lib/doodbalib /usr/local/lib/python3.8/site-packages/doodbalib +COPY lib/doodbalib /usr/local/lib/python3.9/site-packages/doodbalib COPY build.d common/build.d COPY conf.d common/conf.d COPY entrypoint.d common/entrypoint.d @@ -72,7 +72,7 @@ RUN mkdir -p auto/addons auto/geoip custom/src/private \ && ln /usr/local/bin/direxec common/entrypoint \ && ln /usr/local/bin/direxec common/build \ && chmod -R a+rx common/entrypoint* common/build* /usr/local/bin \ - && chmod -R a+rX /usr/local/lib/python3.8/site-packages/doodbalib \ + && chmod -R a+rX /usr/local/lib/python3.9/site-packages/doodbalib \ && cp -a /etc/GeoIP.conf /etc/GeoIP.conf.orig \ && mv /etc/GeoIP.conf /opt/odoo/auto/geoip/GeoIP.conf \ && ln -s /opt/odoo/auto/geoip/GeoIP.conf /etc/GeoIP.conf \ @@ -136,7 +136,7 @@ RUN build_deps=" \ python-magic \ watchdog \ wdb \ - && (python3 -m compileall -q /usr/local/lib/python3.8/ || true) \ + && (python3 -m compileall -q /usr/local/lib/python3.9/ || true) \ # generate flanker cached tables during install when /usr/local/lib/ is still intended to be written to # https://github.com/Tecnativa/doodba/issues/486 && python3 -c 'from flanker.addresslib import address' >/dev/null 2>&1 \