clear caches in image
This commit is contained in:
1 parent
7a3c7317ea
commit
102009369a
1 file changed
+3
-1
+3
-1
@@ -2,7 +2,9 @@ FROM python:3.12-slim
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update; apt-get install -y git
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends git \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
COPY ./src/requirements.txt .
|
COPY ./src/requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r ./requirements.txt
|
RUN pip install --no-cache-dir -r ./requirements.txt
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user