diff --git a/.dockerignore b/.dockerignore index 0580c070..fe9e3960 100644 --- a/.dockerignore +++ b/.dockerignore @@ -12,4 +12,6 @@ test*.yml toy* release.sh shell/ -.tmp/ \ No newline at end of file +.tmp/ +.git/ +.github/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8d4de07f..074d2f6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,8 @@ FROM dependency as base ADD . ./ -RUN pip install .[all] +RUN pip install .[all] \ + && rm -rf /tmp/* WORKDIR /