diff --git a/.gitignore b/.gitignore index d0b2a74730..224a970df4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ /tests/resources/storage/ /.idea/ .DS_Store -.php_cs.cache \ No newline at end of file +.php_cs.cache +debug/ \ No newline at end of file diff --git a/app/workers/functions.php b/app/workers/functions.php index 583fcce1cf..22bc197778 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -374,7 +374,7 @@ class FunctionsV1 $executionStart = \microtime(true); $executionTime = \time(); - + $exitCode = Console::execute("docker run \ -d \ --entrypoint=\"\" \ diff --git a/docker/environments/python-3.8/Dockerfile b/docker/environments/python-3.8/Dockerfile index 91e2fbc27f..659644bd24 100644 --- a/docker/environments/python-3.8/Dockerfile +++ b/docker/environments/python-3.8/Dockerfile @@ -8,4 +8,4 @@ RUN mkdir /usr/local/src WORKDIR /usr/local/src/ -ENV PIP_TARGET=/usr/local/src/.appwrite \ No newline at end of file +ENV PYTHONPATH "${PYTHONPATH}:/usr/local/src/.appwrite" \ No newline at end of file