fix image & command

This commit is contained in:
Matt Marcha 2025-04-25 17:10:52 -10:00
parent 15347f1160
commit 0a1192d86c
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,9 @@
FROM Odoo:15.0 FROM odoo:15.0
USER root USER root
RUN apt update RUN apt update
RUN pip3 install git+https://github.com/OCA/openupgradelib.git@master#egg=openupgradelib RUN apt install -y git
RUN pip3 install --ignore-installed git+https://github.com/OCA/openupgradelib.git@master
RUN pip3 install lxml_html_clean
USER odoo

View file

@ -12,7 +12,7 @@ services:
- ./modules:/mnt/extra-addons - ./modules:/mnt/extra-addons
- /home/matt/Dev/src/openupgrade/15/openupgrade_framework:/mnt/openupgrade - /home/matt/Dev/src/openupgrade/15/openupgrade_framework:/mnt/openupgrade
- /home/matt/Dev/src/openupgrade/15/openupgrade_scripts:/mnt/openupgrade-scripts - /home/matt/Dev/src/openupgrade/15/openupgrade_scripts:/mnt/openupgrade-scripts
# command: "odoo ${COMMAND}" command: "odoo ${COMMAND}"
db: db:
image: postgres:12.20 image: postgres:12.20
environment: environment: