remove unnecessary COPY from dockerfiles

This commit is contained in:
Jenny Danzmayr 2024-08-12 00:27:47 +02:00
parent 897cf68ccc
commit 39002576e2
2 changed files with 2 additions and 2 deletions

View file

@ -52,10 +52,10 @@ RUN --mount=type=cache,target=/var/cache/apt,id=apt_$TARGETARCH --mount=type=tmp
RUN mkdir /app
COPY /src/requirements /app/requirements
WORKDIR /app
RUN --mount=type=cache,target=/pip-cache \
--mount=type=bind,source=/src/requirements,target=/app/requirements \
python3.11 -m venv env && \
. /app/env/bin/activate && \
pip install --cache-dir /pip-cache --upgrade pip wheel && \

View file

@ -39,10 +39,10 @@ RUN --mount=type=cache,target=/var/cache/apt,id=apt_$TARGETARCH --mount=type=tmp
RUN mkdir /app
COPY /src/requirements-tileserver.txt /app/
WORKDIR /app
RUN --mount=type=cache,target=/pip-cache \
--mount=type=bind,source=/src/requirements-tileserver.txt,target=/app/requirements-tileserver.txt \
python3.11 -m venv env && \
. /app/env/bin/activate && \
pip install --cache-dir /pip-cache --upgrade pip wheel && \