Odoo_17.0_community/Dockerfile
gitea_admin 6a7cc76ad7
Some checks failed
ci / main (push) Failing after 1m38s
Update Dockerfile
2024-10-25 10:49:29 +00:00

21 lines
432 B
Docker

FROM odoo:17.0
# Switch to root to install packages
USER root
# Update package list and install python3-venv
RUN apt-get update && apt-get install -y python3-venv
# Install some dependencies
RUN pip install mygeotab
# Copy the tests directory into the image
COPY tests/ /tests/
# Set execute permissions and ownership
RUN chmod +x /tests/runtests.sh \
&& chown -R odoo:odoo /tests
# Switch back to the odoo user
USER odoo