diff --git a/Dockerfile b/Dockerfile index d411699..64d6e42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -131,7 +131,7 @@ RUN cp -r /root/.local/bin/* /usr/local/bin/ \ && pip install --upgrade --no-warn-script-location \ --no-cache-dir -r \ /opt/python/requirements-ci.txt \ - && rm -r /opt/python \ + && rm -r /opt/python && rm -r /root/.local \ # Pre-compile packages to .pyc (init speed gains) && python -c "import compileall; compileall.compile_path(maxlevels=10, quiet=1)" # Override entrypoint, as not possible in Github action