From 1c1038e7ed82298006f573d6b7d9c47b8eabd919 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Fri, 11 Apr 2025 00:25:04 +0800 Subject: [PATCH] Use `pip install` with `--no-cache-dir` in the Dockerfile This will help minimize the Docker image size a bit. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6c96f60..792258f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY LICENSE \ requirements.txt \ /code/ -RUN pip install -r /code/requirements.txt +RUN pip install --no-cache-dir -r /code/requirements.txt ENTRYPOINT ["/code/entrypoint.sh"] CMD []