diff --git a/src/backend/Dockerfile b/src/backend/Dockerfile index 2da0bc742e..dafa749099 100644 --- a/src/backend/Dockerfile +++ b/src/backend/Dockerfile @@ -152,7 +152,7 @@ USER appuser FROM debug-no-odk as ci -COPY tests/ /opt/tests/ +COPY --chown=appuser tests/ /opt/tests/ # Pre-compile packages to .pyc (init speed gains) RUN python -c "import compileall; compileall.compile_path(maxlevels=10, quiet=1)" # Override entrypoint, as not possible in Github action