adds an id to the cache mount

This commit is contained in:
2021-08-19 16:09:40 -04:00
parent 8f8a423680
commit 54137256ee
8 changed files with 9 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ COPY requirements.txt .
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple"
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip \
RUN --mount=type=cache, id=pip, mode=0755,target=/root/.cache/pip \
pip install --index-url https://pypi.org/simple \
--extra-index-url $GITLAB_PYTHON_REGISTRY --extra-index-url $EXTRA_INDEX_URL \
-r requirements.txt