From ebbdecda54b1c382dbc86a436a57b5f0c829c9dd Mon Sep 17 00:00:00 2001 From: "Peter A. Jonsson" Date: Thu, 16 Nov 2023 08:13:07 +0100 Subject: [PATCH] Dockerfile: leave test-files in /code Commit f3853520 removed the content of /code which is great for deployment images, but breaks the integration tests. Only remove .git* instead, since that is the bulk of the size of the /code directory. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2bf4f4e56..049b91a10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ WORKDIR $APPDIR # want to delete the stuff in the /code folder to keep it simple. RUN if [ "$ENVIRONMENT" = "deployment" ] ; then\ pip install .[$ENVIRONMENT]; \ - rm -rf /code/* /code/.??* ; \ + rm -rf /code/* /code/.git* ; \ else \ pip install --editable .[$ENVIRONMENT]; \ fi