docs: explain Dockerfile.base build layer
This commit is contained in:
1 parent
2db0b3bf5e
commit
9648c0ee89
1 file changed
+1
@@ -9,3 +9,4 @@ WORKDIR /app
|
|||||||
COPY requirements.txt ./requirements.txt
|
COPY requirements.txt ./requirements.txt
|
||||||
RUN python -m pip install --no-cache-dir --upgrade "pip==26.2.1" \
|
RUN python -m pip install --no-cache-dir --upgrade "pip==26.2.1" \
|
||||||
&& python -m pip install --no-cache-dir -r requirements.txt
|
&& python -m pip install --no-cache-dir -r requirements.txt
|
||||||
|
#+ Dependency layer: install pinned Python tooling and requirements before source code to maximize Docker cache reuse.
|
||||||
Reference in new issue
Block a user