--no-cache-dir
This commit is contained in:
parent
4bf043d140
commit
f62f2496df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user