From f62f2496df2ef839ea75ffb684a4d5fea3147a2c Mon Sep 17 00:00:00 2001 From: timofey Date: Wed, 30 Aug 2023 02:55:34 +0000 Subject: [PATCH] `--no-cache-dir` --- starbot/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/starbot/Dockerfile b/starbot/Dockerfile index 0e01a7d..380d75b 100644 --- a/starbot/Dockerfile +++ b/starbot/Dockerfile @@ -1,15 +1,15 @@ FROM python:3.11 as base WORKDIR /app/ COPY requirements.txt requirements.txt -RUN pip install -r requirements.txt +RUN pip --no-cache-dir install -r requirements.txt CMD ["python3", "-m", "starbot"] FROM base as ptvp35 -RUN pip install git+https://gitea.parrrate.ru/PTV/ptvp35.git@f8ee5d20f4e159df2e20c40dbf3b81e925c2db36 +RUN pip --no-cache-dir install git+https://gitea.parrrate.ru/PTV/ptvp35.git@f8ee5d20f4e159df2e20c40dbf3b81e925c2db36 ENV DBF_MODULE=starbot.db_ptvp35 COPY starbot starbot FROM base as sqlite -RUN pip install aiosqlite~=0.19 +RUN pip --no-cache-dir install aiosqlite~=0.19 ENV DBF_MODULE=starbot.db_aiosqlite COPY starbot starbot