This commit is contained in:
parent
da39daf641
commit
4cb649197b
10
Dockerfile
10
Dockerfile
@ -1,11 +1,17 @@
|
||||
FROM odoo:17.0
|
||||
|
||||
# Install some deps
|
||||
# Install deps
|
||||
RUN pip install mygeotab
|
||||
|
||||
# Copy the tests directory into the image
|
||||
# Copy 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
|
||||
|
||||
# Switch back to the odoo user
|
||||
USER odoo
|
||||
|
Loading…
x
Reference in New Issue
Block a user