commenting ,from=pip_cache
This commit is contained in:
+2
-2
@@ -5,8 +5,8 @@ WORKDIR /code/
|
|||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
COPY django_code ./
|
COPY django_code ./
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip,from=pip_cache pip install --upgrade pip
|
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip,from=pip_cache pip install --no-cache-dir -r requirements.txt
|
RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir -r requirements.txt
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN python django_code/manage.py migrate
|
RUN python django_code/manage.py migrate
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user