From 2ad187c145cb739f0d6752fa3f8b41435d8a47c1 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 21 Aug 2023 20:51:05 +0100 Subject: [PATCH] build: chown test as appuser --- src/backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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