File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,11 @@ WORKDIR /app/
2323
2424ARG NPDI_API_PORT=5000
2525
26- RUN --mount=type=cache,target=/root/.cache/pip,from=pip_cache pip3 install --upgrade pip
26+ RUN --mount=type=cache,target=/root/.cache/pip pip3 install --upgrade pip
2727
2828COPY requirements/ requirements/
2929
30- RUN --mount=type=cache,target=/root/.cache/pip,from=pip_cache pip3 install -r requirements/dev_unix.txt
30+ RUN --mount=type=cache,target=/root/.cache/pip pip3 install -r requirements/dev_unix.txt
3131COPY . .
3232
3333ENV PORT=$NPDI_API_PORT
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN arch=$(arch) && \
2828 wget ${url} && \
2929 sed -i "s/pandas==2.2.2/${file}/" prod.txt
3030
31- RUN pip install --no- cache-dir --user -r prod.txt
31+ RUN --mount=type= cache,target=/root/.cache/pip pip install --user -r prod.txt
3232
3333COPY . .
3434
You can’t perform that action at this time.
0 commit comments