From d63cc8efe2c00646a7463e078fef68a4f9f3b164 Mon Sep 17 00:00:00 2001 From: Trim21 Date: Sat, 29 Apr 2023 17:16:05 +0800 Subject: [PATCH] speed up --- Dockerfile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index c83653f0..f2dea2b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,20 +5,9 @@ WORKDIR /app COPY requirements.txt . RUN --mount=target=/root/.cache/pip,type=cache,sharing=locked \ - --mount=target=/root/.ccache,type=cache,sharing=locked \ - apk add --no-cache --virtual=build-dependencies \ - libxml2-dev \ - libxslt-dev \ - gcc \ - g++ \ - linux-headers \ - ccache \ - build-base && \ python3 -m pip install --upgrade pip && \ pip install cython && \ pip install --no-cache-dir -r requirements.txt && \ - apk del --purge \ - build-dependencies && \ rm -rf \ /root/.cache \ /tmp/*