Update Dockerfile
Some checks failed
ci / main (push) Failing after 1m38s

This commit is contained in:
gitea_admin 2024-10-25 10:49:29 +00:00
parent 4cb649197b
commit 6a7cc76ad7

View File

@ -1,14 +1,17 @@
FROM odoo:17.0
# Install deps
# 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 tests directory into the image
# Copy the tests directory into the image
COPY tests/ /tests/
# Switch to root to set permissions
USER root
# Set execute permissions and ownership
RUN chmod +x /tests/runtests.sh \
&& chown -R odoo:odoo /tests